[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyingcircusio%2Fuserscan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flyingcircusio/userscan on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 110653a434df07bac6174e650509cd7c785bbf1e9d7c63f2c6f6ce4575db2e31 [INFO] running `Command { std: "docker" "start" "-a" "110653a434df07bac6174e650509cd7c785bbf1e9d7c63f2c6f6ce4575db2e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110653a434df07bac6174e650509cd7c785bbf1e9d7c63f2c6f6ce4575db2e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110653a434df07bac6174e650509cd7c785bbf1e9d7c63f2c6f6ce4575db2e31", kill_on_drop: false }` [INFO] [stdout] 110653a434df07bac6174e650509cd7c785bbf1e9d7c63f2c6f6ce4575db2e31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed49bbf37d7a35e028aa2d1187844d069dad7e2d88ef4bd87ad8c366429039b1 [INFO] running `Command { std: "docker" "start" "-a" "ed49bbf37d7a35e028aa2d1187844d069dad7e2d88ef4bd87ad8c366429039b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking minilzo-sys v0.1.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking minilzo v0.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking probes v0.4.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / /// Funky colorful output [INFO] [stdout] 223 | | /// [INFO] [stdout] 224 | | /// Enables colored output. If set to "auto", color is on if run in a terminal. [INFO] [stdout] 225 | | #[structopt(short = "C", long, value_name = "WHEN", default_value = "auto", [INFO] [stdout] 226 | | possible_values(&["always", "never", "auto"]) [INFO] [stdout] 227 | | )] [INFO] [stdout] 228 | | color: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / /// Skips files matching GLOB [INFO] [stdout] 247 | | /// [INFO] [stdout] 248 | | /// Skips files matching GLOB. May be given multiple times. [INFO] [stdout] 249 | | #[structopt(short, long, value_name = "GLOB", number_of_values(1))] [INFO] [stdout] 250 | | exclude: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / /// Scans only files matching GLOB [INFO] [stdout] 252 | | /// [INFO] [stdout] 253 | | /// Scans only files matching GLOB. may be given multiple times. note including individual [INFO] [stdout] 254 | | /// files shows no effect if their containing directory is matched by an exclude glob. [INFO] [stdout] 255 | | #[structopt(short, long, value_name = "GLOB", number_of_values(1))] [INFO] [stdout] 256 | | include: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / /// Scans inside ZIP archives for files matching GLOB [INFO] [stdout] 270 | | /// [INFO] [stdout] 271 | | /// Unpacks all files with matching GLOB as ZIP archives and scans inside. Accepts a [INFO] [stdout] 272 | | /// comma-separated list of glob patterns [example: *.zip,*.egg]. [INFO] [stdout] 273 | | #[structopt(short, long, use_delimiter(true))] [INFO] [stdout] 274 | | unzip: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/storepaths/mod.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter_refs<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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] error: could not compile `fc-userscan` (bin "fc-userscan") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / /// Funky colorful output [INFO] [stdout] 223 | | /// [INFO] [stdout] 224 | | /// Enables colored output. If set to "auto", color is on if run in a terminal. [INFO] [stdout] 225 | | #[structopt(short = "C", long, value_name = "WHEN", default_value = "auto", [INFO] [stdout] 226 | | possible_values(&["always", "never", "auto"]) [INFO] [stdout] 227 | | )] [INFO] [stdout] 228 | | color: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / /// Skips files matching GLOB [INFO] [stdout] 247 | | /// [INFO] [stdout] 248 | | /// Skips files matching GLOB. May be given multiple times. [INFO] [stdout] 249 | | #[structopt(short, long, value_name = "GLOB", number_of_values(1))] [INFO] [stdout] 250 | | exclude: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / /// Scans only files matching GLOB [INFO] [stdout] 252 | | /// [INFO] [stdout] 253 | | /// Scans only files matching GLOB. may be given multiple times. note including individual [INFO] [stdout] 254 | | /// files shows no effect if their containing directory is matched by an exclude glob. [INFO] [stdout] 255 | | #[structopt(short, long, value_name = "GLOB", number_of_values(1))] [INFO] [stdout] 256 | | include: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / /// Scans inside ZIP archives for files matching GLOB [INFO] [stdout] 270 | | /// [INFO] [stdout] 271 | | /// Unpacks all files with matching GLOB as ZIP archives and scans inside. Accepts a [INFO] [stdout] 272 | | /// comma-separated list of glob patterns [example: *.zip,*.egg]. [INFO] [stdout] 273 | | #[structopt(short, long, use_delimiter(true))] [INFO] [stdout] 274 | | unzip: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | fn _worker(tempdir: &TempDir) -> RegistryWorker { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | fn _worker(tempdir: &TempDir) -> RegistryWorker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/storepaths/mod.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter_refs<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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] error: could not compile `fc-userscan` (bin "fc-userscan" test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed49bbf37d7a35e028aa2d1187844d069dad7e2d88ef4bd87ad8c366429039b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed49bbf37d7a35e028aa2d1187844d069dad7e2d88ef4bd87ad8c366429039b1", kill_on_drop: false }` [INFO] [stdout] ed49bbf37d7a35e028aa2d1187844d069dad7e2d88ef4bd87ad8c366429039b1