[INFO] cloning repository https://github.com/adria0/cargo-folderinfo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adria0/cargo-folderinfo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadria0%2Fcargo-folderinfo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadria0%2Fcargo-folderinfo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22713c5e6595e22e809a1db948b6057678d18c6a [INFO] checking adria0/cargo-folderinfo 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%2Fadria0%2Fcargo-folderinfo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adria0/cargo-folderinfo [INFO] finished tweaking git repo https://github.com/adria0/cargo-folderinfo [INFO] tweaked toml for git repo https://github.com/adria0/cargo-folderinfo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adria0/cargo-folderinfo 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/adria0/cargo-folderinfo 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 05664c62ea4872fd76947de36bbcd7a8a34f0742a7d3a285f08624ddd4c3ee29 [INFO] running `Command { std: "docker" "start" "-a" "05664c62ea4872fd76947de36bbcd7a8a34f0742a7d3a285f08624ddd4c3ee29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05664c62ea4872fd76947de36bbcd7a8a34f0742a7d3a285f08624ddd4c3ee29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05664c62ea4872fd76947de36bbcd7a8a34f0742a7d3a285f08624ddd4c3ee29", kill_on_drop: false }` [INFO] [stdout] 05664c62ea4872fd76947de36bbcd7a8a34f0742a7d3a285f08624ddd4c3ee29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 51244a65fe3110138cd0792f1330e80e297bc77879c086b005d8e0f9e7403fb5 [INFO] running `Command { std: "docker" "start" "-a" "51244a65fe3110138cd0792f1330e80e297bc77879c086b005d8e0f9e7403fb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Checking structopt v0.3.11 [INFO] [stderr] Checking cargo-folderinfo v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Comma-separated list of crates to ignore [INFO] [stdout] 32 | | #[structopt(long)] [INFO] [stdout] 33 | | ignore: Option, [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: Result [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Comma-separated list of crates to highlight: all_directions,+from,-to [INFO] [stdout] 35 | | #[structopt(long)] [INFO] [stdout] 36 | | highlight: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | _ => panic!(format!("expected {:?} to be a table", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - _ => panic!(format!("expected {:?} to be a table", v)), [INFO] [stdout] 51 + _ => panic!("expected {:?} to be a table", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | _ => panic!(format!("expected {:?} to be a string", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 - _ => panic!(format!("expected {:?} to be a string", v)), [INFO] [stdout] 57 + _ => panic!("expected {:?} to be a string", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | name: name.unwrap_or_else(|| panic!(format!("Crate without name in {:?}", path))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - name: name.unwrap_or_else(|| panic!(format!("Crate without name in {:?}", path))), [INFO] [stdout] 108 + name: name.unwrap_or_else(|| panic!("Crate without name in {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-folderinfo` (bin "cargo-folderinfo" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Comma-separated list of crates to ignore [INFO] [stdout] 32 | | #[structopt(long)] [INFO] [stdout] 33 | | ignore: Option, [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: Result [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Comma-separated list of crates to highlight: all_directions,+from,-to [INFO] [stdout] 35 | | #[structopt(long)] [INFO] [stdout] 36 | | highlight: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | _ => panic!(format!("expected {:?} to be a table", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - _ => panic!(format!("expected {:?} to be a table", v)), [INFO] [stdout] 51 + _ => panic!("expected {:?} to be a table", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | _ => panic!(format!("expected {:?} to be a string", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 - _ => panic!(format!("expected {:?} to be a string", v)), [INFO] [stdout] 57 + _ => panic!("expected {:?} to be a string", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | name: name.unwrap_or_else(|| panic!(format!("Crate without name in {:?}", path))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - name: name.unwrap_or_else(|| panic!(format!("Crate without name in {:?}", path))), [INFO] [stdout] 108 + name: name.unwrap_or_else(|| panic!("Crate without name in {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-folderinfo` (bin "cargo-folderinfo") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "51244a65fe3110138cd0792f1330e80e297bc77879c086b005d8e0f9e7403fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51244a65fe3110138cd0792f1330e80e297bc77879c086b005d8e0f9e7403fb5", kill_on_drop: false }` [INFO] [stdout] 51244a65fe3110138cd0792f1330e80e297bc77879c086b005d8e0f9e7403fb5