[INFO] cloning repository https://github.com/flyingcircusio/userscan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flyingcircusio/userscan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyingcircusio%2Fuserscan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyingcircusio%2Fuserscan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 446f52cf14ab53450197166deaf20e90d64bc276 [INFO] checking flyingcircusio/userscan against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyingcircusio%2Fuserscan" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flyingcircusio/userscan [INFO] finished tweaking git repo https://github.com/flyingcircusio/userscan [INFO] tweaked toml for git repo https://github.com/flyingcircusio/userscan written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flyingcircusio/userscan on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/flyingcircusio/userscan 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded probes v0.4.1 [INFO] [stderr] Downloaded zip v0.5.9 [INFO] [stderr] Downloaded rmp-serde v0.14.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc130f001fd5e9ca6d83ba0cde2c016b701b9ee3f75299d2ae8211c2ca35d630 [INFO] running `Command { std: "docker" "start" "-a" "bc130f001fd5e9ca6d83ba0cde2c016b701b9ee3f75299d2ae8211c2ca35d630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc130f001fd5e9ca6d83ba0cde2c016b701b9ee3f75299d2ae8211c2ca35d630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc130f001fd5e9ca6d83ba0cde2c016b701b9ee3f75299d2ae8211c2ca35d630", kill_on_drop: false }` [INFO] [stdout] bc130f001fd5e9ca6d83ba0cde2c016b701b9ee3f75299d2ae8211c2ca35d630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c27a9b211e7a5ccb859c9cf89ec66f0475057af97cbcf6825a1a9cde8ff24833 [INFO] running `Command { std: "docker" "start" "-a" "c27a9b211e7a5ccb859c9cf89ec66f0475057af97cbcf6825a1a9cde8ff24833", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking minilzo-sys v0.1.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking minilzo v0.2.0 [INFO] [stderr] Checking probes v0.4.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking zip v0.5.9 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking fc-userscan v0.4.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storepaths/cache.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | if !self.dirty.compare_and_swap(true, false, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storepaths/cache.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | if !self.dirty.compare_and_swap(true, false, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rx` is never read [INFO] [stdout] --> src/registry.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct NullGCRoots { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 217 | output: Output, [INFO] [stdout] 218 | rx: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NullGCRoots` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storepaths/mod.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter_refs<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter_refs<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rx` is never read [INFO] [stdout] --> src/registry.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct NullGCRoots { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 217 | output: Output, [INFO] [stdout] 218 | rx: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NullGCRoots` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rx` is never read [INFO] [stdout] --> src/registry.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct FakeGCRoots { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 386 | rx: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeGCRoots` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/registry.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | fn _worker(tempdir: &TempDir) -> RegistryWorker { [INFO] [stdout] | ^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 257 | fn _worker(tempdir: &TempDir) -> RegistryWorker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storepaths/mod.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter_refs<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter_refs<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.64s [INFO] running `Command { std: "docker" "inspect" "c27a9b211e7a5ccb859c9cf89ec66f0475057af97cbcf6825a1a9cde8ff24833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27a9b211e7a5ccb859c9cf89ec66f0475057af97cbcf6825a1a9cde8ff24833", kill_on_drop: false }` [INFO] [stdout] c27a9b211e7a5ccb859c9cf89ec66f0475057af97cbcf6825a1a9cde8ff24833