[INFO] fetching crate ufwprofile 1.4.7...
[INFO] testing ufwprofile-1.4.7 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate ufwprofile 1.4.7 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate ufwprofile 1.4.7
[INFO] finished tweaking crates.io crate ufwprofile 1.4.7
[INFO] tweaked toml for crates.io crate ufwprofile 1.4.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ufwprofile 1.4.7 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ufwprofile 1.4.7 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.77
[INFO] [stderr]   Downloaded memchr v2.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a
[INFO] running `Command { std: "docker" "start" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling anyhow v1.0.77
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling ufwprofile v1.4.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 33.89s
[INFO] running `Command { std: "docker" "inspect" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling ufwprofile v1.4.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/ufwprofile-49e02cc5f5663eb5)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test rootcheck::tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ufwprofile
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/rootcheck.rs - rootcheck::escalate_if_needed (line 49) ... FAILED
[INFO] [stdout] test src/config.rs - config::UFWConf (line 11) ... ok
[INFO] [stdout] test src/rootcheck.rs - rootcheck::with_env (line 71) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/rootcheck.rs - rootcheck::escalate_if_needed (line 49) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `sudo` in this scope
[INFO] [stdout]   --> src/rootcheck.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |   if sudo::check() == sudo::RunningAs::Root {
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `sudo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sudo`, use `cargo add sudo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sudo` in this scope
[INFO] [stdout]   --> src/rootcheck.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |   if sudo::check() == sudo::RunningAs::Root {
[INFO] [stdout]    |      ^^^^ use of unresolved module or unlinked crate `sudo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sudo`, use `cargo add sudo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sudo` in this scope
[INFO] [stdout]   --> src/rootcheck.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | sudo::escalate_if_needed()?;
[INFO] [stdout]    | ^^^^ use of unresolved module or unlinked crate `sudo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sudo`, use `cargo add sudo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rootcheck.rs - rootcheck::with_env (line 71) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `sudo` in this scope
[INFO] [stdout]   --> src/rootcheck.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |   if sudo::check() == sudo::RunningAs::Root {
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `sudo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sudo`, use `cargo add sudo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sudo` in this scope
[INFO] [stdout]   --> src/rootcheck.rs:74:6
[INFO] [stdout]    |
[INFO] [stdout] 74 |   if sudo::check() == sudo::RunningAs::Root {
[INFO] [stdout]    |      ^^^^ use of unresolved module or unlinked crate `sudo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sudo`, use `cargo add sudo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sudo` in this scope
[INFO] [stdout]   --> src/rootcheck.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | sudo::with_env(&["CARGO_", "MY_APP_"])?;
[INFO] [stdout]    | ^^^^ use of unresolved module or unlinked crate `sudo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sudo`, use `cargo add sudo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/rootcheck.rs - rootcheck::escalate_if_needed (line 49)
[INFO] [stdout]     src/rootcheck.rs - rootcheck::with_env (line 71)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a", kill_on_drop: false }`
[INFO] [stdout] f1b604a8eb9fff9c92ca31f9f452924a842d2319a2299e2e5a2703658cc8734a
