[INFO] fetching crate rubo 0.1.6... [INFO] checking rubo-0.1.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rubo 0.1.6 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rubo 0.1.6 [INFO] finished tweaking crates.io crate rubo 0.1.6 [INFO] tweaked toml for crates.io crate rubo 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rubo 0.1.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rubo 0.1.6 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c33f239f86ca1bf5ea9e133bcc4a34af208300012a0f94e26aa40ac58f6c708e [INFO] running `Command { std: "docker" "start" "-a" "c33f239f86ca1bf5ea9e133bcc4a34af208300012a0f94e26aa40ac58f6c708e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c33f239f86ca1bf5ea9e133bcc4a34af208300012a0f94e26aa40ac58f6c708e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33f239f86ca1bf5ea9e133bcc4a34af208300012a0f94e26aa40ac58f6c708e", kill_on_drop: false }` [INFO] [stdout] c33f239f86ca1bf5ea9e133bcc4a34af208300012a0f94e26aa40ac58f6c708e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae96f6bfec8b86e25b62183f31fee1fe9c962dac951eace0dccd7136721cddef [INFO] running `Command { std: "docker" "start" "-a" "ae96f6bfec8b86e25b62183f31fee1fe9c962dac951eace0dccd7136721cddef", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking rubo v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/pod/lockfile.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut item = result.get_mut(&pod_name).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/cmd/cd.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NAME` is never used [INFO] [stdout] --> src/cmd/cd.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | impl Command { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 6 | const NAME: &'static str = "cd"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/cmd/sed.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME` is never used [INFO] [stdout] --> src/cmd/sed.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const NAME: &'static str = "sed"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/cmd/count.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NAME` is never used [INFO] [stdout] --> src/cmd/count.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl Command { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 15 | const NAME: &'static str = "count"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/tree/mod.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_ansi_string(s: &str, fg: char, bg: char) -> ANSIString { [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] 25 | fn to_ansi_string(s: &str, fg: char, bg: char) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/pod/lockfile.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut item = result.get_mut(&pod_name).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/cmd/cd.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NAME` is never used [INFO] [stdout] --> src/cmd/cd.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | impl Command { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 6 | const NAME: &'static str = "cd"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/cmd/sed.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME` is never used [INFO] [stdout] --> src/cmd/sed.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const NAME: &'static str = "sed"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/cmd/count.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NAME` is never used [INFO] [stdout] --> src/cmd/count.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl Command { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 15 | const NAME: &'static str = "count"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/tree/mod.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_ansi_string(s: &str, fg: char, bg: char) -> ANSIString { [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] 25 | fn to_ansi_string(s: &str, fg: char, bg: char) -> ANSIString<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "ae96f6bfec8b86e25b62183f31fee1fe9c962dac951eace0dccd7136721cddef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae96f6bfec8b86e25b62183f31fee1fe9c962dac951eace0dccd7136721cddef", kill_on_drop: false }` [INFO] [stdout] ae96f6bfec8b86e25b62183f31fee1fe9c962dac951eace0dccd7136721cddef