max-fn-params-bools = 0
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-print-in-tests = true
disallowed-types = [
{ path = "std::fs::File", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::OpenOptions", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::ReadDir", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::process::Command", reason = "evaluation starts no process" },
{ path = "std::process::Child", reason = "evaluation starts no process" },
{ path = "std::net::TcpListener", reason = "evaluation opens no socket" },
{ path = "std::net::TcpStream", reason = "evaluation opens no socket" },
{ path = "std::net::UdpSocket", reason = "evaluation opens no socket" },
{ path = "std::os::unix::net::UnixListener", reason = "evaluation opens no socket" },
{ path = "std::os::unix::net::UnixStream", reason = "evaluation opens no socket" },
{ path = "std::time::Instant", reason = "evaluation reads no clock; time arrives as a value" },
{ path = "std::time::SystemTime", reason = "evaluation reads no clock; time arrives as a value" },
{ path = "std::thread::Builder", reason = "evaluation starts no thread" },
{ path = "std::io::Stdin", reason = "evaluation reads no standard stream" },
{ path = "std::io::Stdout", reason = "evaluation writes no standard stream" },
{ path = "std::io::Stderr", reason = "evaluation writes no standard stream" },
]
disallowed-methods = [
{ path = "std::process::Command::spawn", reason = "use flow_start::Spawn::locked_spawn" },
{ path = "std::process::Command::status", reason = "use flow_start::Spawn::locked_status" },
{ path = "std::process::Command::output", reason = "use flow_start::Spawn::locked_output" },
{ path = "std::os::unix::process::CommandExt::exec", reason = "use flow_start::Spawn::locked_exec" },
{ path = "std::io::pipe", reason = "use flow_start::pipe" },
{ path = "std::os::unix::net::UnixStream::connect", reason = "use flow_start::unix::connect" },
{ path = "std::os::unix::net::UnixStream::connect_addr", reason = "create it through flow_start::unix" },
{ path = "std::os::unix::net::UnixStream::pair", reason = "use flow_start::unix::pair" },
{ path = "std::os::unix::net::UnixListener::bind", reason = "use flow_start::unix::bind" },
{ path = "std::os::unix::net::UnixListener::bind_addr", reason = "create it through flow_start::unix" },
{ path = "std::os::unix::net::UnixListener::accept", reason = "use flow_start::Accept::accept" },
{ path = "std::os::unix::net::UnixListener::incoming", reason = "use flow_start::Accept::accept" },
{ path = "std::os::unix::net::UnixDatagram::bind", reason = "create it through flow_start::unix" },
{ path = "std::os::unix::net::UnixDatagram::bind_addr", reason = "create it through flow_start::unix" },
{ path = "std::os::unix::net::UnixDatagram::unbound", reason = "create it through flow_start::unix" },
{ path = "std::os::unix::net::UnixDatagram::pair", reason = "create it through flow_start::unix" },
{ path = "std::net::TcpStream::connect", reason = "use flow_start::tcp::connect" },
{ path = "std::net::TcpStream::connect_timeout", reason = "create it through flow_start::tcp" },
{ path = "std::net::TcpListener::bind", reason = "use flow_start::tcp::bind" },
{ path = "std::net::TcpListener::accept", reason = "use flow_start::Accept::accept" },
{ path = "std::net::TcpListener::incoming", reason = "use flow_start::Accept::accept" },
{ path = "std::net::UdpSocket::bind", reason = "create it through flow_start" },
{ path = "rustix::pipe::pipe", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::pipe::pipe_with", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::socket", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::socket_with", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::socketpair", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::accept", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::accept_with", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::acceptfrom", reason = "create it through flow_start", allow-invalid = true },
{ path = "rustix::net::acceptfrom_with", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::unistd::pipe", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::unistd::pipe2", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::sys::socket::socket", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::sys::socket::socketpair", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::sys::socket::accept", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::sys::socket::accept4", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::pty::openpty", reason = "create it through flow_start", allow-invalid = true },
{ path = "nix::unistd::fork", reason = "start it through flow_start", allow-invalid = true },
{ path = "nix::pty::forkpty", reason = "start it through flow_start", allow-invalid = true },
{ path = "tokio::process::Command::spawn", reason = "start it through flow_start", allow-invalid = true },
{ path = "tokio::process::Command::status", reason = "start it through flow_start", allow-invalid = true },
{ path = "tokio::process::Command::output", reason = "start it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixStream::connect", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixStream::pair", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixListener::bind", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixListener::accept", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixListener::poll_accept", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixDatagram::bind", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixDatagram::pair", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixDatagram::unbound", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixSocket::new_stream", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UnixSocket::new_datagram", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::TcpStream::connect", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::TcpListener::bind", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::TcpListener::accept", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::TcpListener::poll_accept", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::TcpSocket::new_v4", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::TcpSocket::new_v6", reason = "create it through flow_start", allow-invalid = true },
{ path = "tokio::net::UdpSocket::bind", reason = "create it through flow_start", allow-invalid = true },
{ path = "std::fs::canonicalize", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::copy", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::create_dir", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::create_dir_all", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::exists", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::hard_link", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::metadata", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::read", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::read_dir", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::read_link", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::read_to_string", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::remove_dir", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::remove_dir_all", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::remove_file", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::rename", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::set_permissions", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::symlink_metadata", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::fs::write", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::canonicalize", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::exists", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::is_dir", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::is_file", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::is_symlink", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::metadata", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::read_dir", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::read_link", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::symlink_metadata", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::path::Path::try_exists", reason = "evaluation reaches the file system only through the host port" },
{ path = "std::env::args", reason = "evaluation reads no environment" },
{ path = "std::env::args_os", reason = "evaluation reads no environment" },
{ path = "std::env::current_dir", reason = "evaluation reads no environment" },
{ path = "std::env::current_exe", reason = "evaluation reads no environment" },
{ path = "std::env::home_dir", reason = "evaluation reads no environment" },
{ path = "std::env::remove_var", reason = "evaluation changes no environment" },
{ path = "std::env::set_current_dir", reason = "evaluation changes no environment" },
{ path = "std::env::set_var", reason = "evaluation changes no environment" },
{ path = "std::env::temp_dir", reason = "evaluation reads no environment" },
{ path = "std::env::var", reason = "evaluation reads no environment" },
{ path = "std::env::var_os", reason = "evaluation reads no environment" },
{ path = "std::env::vars", reason = "evaluation reads no environment" },
{ path = "std::env::vars_os", reason = "evaluation reads no environment" },
{ path = "std::io::stderr", reason = "evaluation writes no standard stream" },
{ path = "std::io::stdin", reason = "evaluation reads no standard stream" },
{ path = "std::io::stdout", reason = "evaluation writes no standard stream" },
{ path = "std::process::abort", reason = "evaluation ends no process" },
{ path = "std::process::exit", reason = "evaluation ends no process" },
{ path = "std::process::id", reason = "evaluation reads no environment" },
{ path = "std::thread::available_parallelism", reason = "evaluation reads no environment" },
{ path = "std::thread::scope", reason = "evaluation starts no thread" },
{ path = "std::thread::sleep", reason = "evaluation reads no clock and waits on nothing" },
{ path = "std::thread::spawn", reason = "evaluation starts no thread" },
]
disallowed-macros = [
{ path = "std::env", reason = "evaluation reads no environment, at run time or at build time" },
{ path = "std::option_env", reason = "evaluation reads no environment, at run time or at build time" },
]