[INFO] fetching crate trim-go-asm 0.1.3... [INFO] checking trim-go-asm-0.1.3 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] extracting crate trim-go-asm 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate trim-go-asm 0.1.3 on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trim-go-asm 0.1.3 [INFO] finished tweaking crates.io crate trim-go-asm 0.1.3 [INFO] tweaked toml for crates.io crate trim-go-asm 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate trim-go-asm 0.1.3 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1761372ae7fddf3f0bbcdc8c243dfcc5cb98c52a9fb7223d1280c81f6a5e5d38 [INFO] running `Command { std: "docker" "start" "-a" "1761372ae7fddf3f0bbcdc8c243dfcc5cb98c52a9fb7223d1280c81f6a5e5d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1761372ae7fddf3f0bbcdc8c243dfcc5cb98c52a9fb7223d1280c81f6a5e5d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1761372ae7fddf3f0bbcdc8c243dfcc5cb98c52a9fb7223d1280c81f6a5e5d38", kill_on_drop: false }` [INFO] [stdout] 1761372ae7fddf3f0bbcdc8c243dfcc5cb98c52a9fb7223d1280c81f6a5e5d38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 200e48d9e3216cd171d8509c1416b1ed36c6bdaea079ce09f9f624e80db4b6d1 [INFO] running `Command { std: "docker" "start" "-a" "200e48d9e3216cd171d8509c1416b1ed36c6bdaea079ce09f9f624e80db4b6d1", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking clap v3.1.2 [INFO] [stderr] Checking trim-go-asm v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{App, Arg, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{App, Arg, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{App, Arg, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{App, Arg, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::App::<'help>::help`: Replaced with `App::override_help` [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .help("Trim Go Assembly from $ go tool compile -S") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::App::<'help>::help`: Replaced with `App::override_help` [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .help("Trim Go Assembly from $ go tool compile -S") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim_goroutine_fn` [INFO] [stdout] --> src/trim.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let trim_goroutine_fn = if matches.is_present("TRIM_GOROUTINE") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trim_goroutine_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace_abi_fn` [INFO] [stdout] --> src/trim.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let replace_abi_fn = if matches.is_present("REPLACE_ABIINTERNAL") { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_abi_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_pcdata_func_data_fn` [INFO] [stdout] --> src/trim.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let remove_pcdata_func_data_fn = if matches.is_present("REMOVE_PCDATA_FUNCDATA") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_pcdata_func_data_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rename_for_mac_fn` [INFO] [stdout] --> src/trim.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let rename_for_mac_fn = if matches.is_present("FOR_MAC") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rename_for_mac_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_common` is never used [INFO] [stdout] --> src/trim.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn erase_common(inst_str: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim_goroutine_fn` [INFO] [stdout] --> src/trim.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let trim_goroutine_fn = if matches.is_present("TRIM_GOROUTINE") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trim_goroutine_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace_abi_fn` [INFO] [stdout] --> src/trim.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let replace_abi_fn = if matches.is_present("REPLACE_ABIINTERNAL") { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_abi_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_pcdata_func_data_fn` [INFO] [stdout] --> src/trim.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let remove_pcdata_func_data_fn = if matches.is_present("REMOVE_PCDATA_FUNCDATA") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_pcdata_func_data_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rename_for_mac_fn` [INFO] [stdout] --> src/trim.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let rename_for_mac_fn = if matches.is_present("FOR_MAC") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rename_for_mac_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_common` is never used [INFO] [stdout] --> src/trim.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn erase_common(inst_str: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.11s [INFO] running `Command { std: "docker" "inspect" "200e48d9e3216cd171d8509c1416b1ed36c6bdaea079ce09f9f624e80db4b6d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200e48d9e3216cd171d8509c1416b1ed36c6bdaea079ce09f9f624e80db4b6d1", kill_on_drop: false }` [INFO] [stdout] 200e48d9e3216cd171d8509c1416b1ed36c6bdaea079ce09f9f624e80db4b6d1