[INFO] cloning repository https://github.com/tweedegolf/cargo-minify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tweedegolf/cargo-minify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweedegolf%2Fcargo-minify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweedegolf%2Fcargo-minify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a2692d5e42a988389f6973fd2259752f6bfe0b4 [INFO] checking tweedegolf/cargo-minify 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%2Ftweedegolf%2Fcargo-minify" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tweedegolf/cargo-minify [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/tweedegolf/cargo-minify [INFO] tweaked toml for git repo https://github.com/tweedegolf/cargo-minify written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tweedegolf/cargo-minify 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/tweedegolf/cargo-minify 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 465dd8134d314fda1497bd844bd907311a4d5501f381792a3633e20238eef262 [INFO] running `Command { std: "docker" "start" "-a" "465dd8134d314fda1497bd844bd907311a4d5501f381792a3633e20238eef262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "465dd8134d314fda1497bd844bd907311a4d5501f381792a3633e20238eef262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465dd8134d314fda1497bd844bd907311a4d5501f381792a3633e20238eef262", kill_on_drop: false }` [INFO] [stdout] 465dd8134d314fda1497bd844bd907311a4d5501f381792a3633e20238eef262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 39493191defe1187fb35375bf6d947f4af28c022aa2d3769589a3a2e87efeb40 [INFO] running `Command { std: "docker" "start" "-a" "39493191defe1187fb35375bf6d947f4af28c022aa2d3769589a3a2e87efeb40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking glob-match v0.2.1 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking syn v2.0.39 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Checking git2 v0.17.2 [INFO] [stderr] Checking cargo-platform v0.1.5 [INFO] [stderr] Checking multimap v0.9.1 [INFO] [stderr] Checking cargo_metadata v0.17.0 [INFO] [stderr] Checking cargo-minify v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/useless.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | /// The generated function is unused, but won't be removed by cargo-minify [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `foo` [INFO] [stdout] --> examples/useless.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | macro_rules! foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOO` is never used [INFO] [stdout] --> examples/useless.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const FOO: usize = 5; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> examples/useless.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn foo() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> examples/useless.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Foo {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> examples/useless.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Foo { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 29 | fn new() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Baz` is never used [INFO] [stdout] --> examples/useless.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | union Baz { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Qux` is never used [INFO] [stdout] --> examples/useless.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type Qux = Bar; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huk` is never used [INFO] [stdout] --> examples/useless.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | fn huk() {} [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | huk!(); [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `huk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baz` is never used [INFO] [stdout] --> examples/useless.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn baz(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huk` is never used [INFO] [stdout] --> examples/useless.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn huk() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bar` is never used [INFO] [stdout] --> examples/useless.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn bar() {} [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:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Options)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `Options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-minify` (bin "cargo-minify") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Options)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `Options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-minify` (bin "cargo-minify" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "39493191defe1187fb35375bf6d947f4af28c022aa2d3769589a3a2e87efeb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39493191defe1187fb35375bf6d947f4af28c022aa2d3769589a3a2e87efeb40", kill_on_drop: false }` [INFO] [stdout] 39493191defe1187fb35375bf6d947f4af28c022aa2d3769589a3a2e87efeb40