[INFO] cloning repository https://github.com/ggvm-org/trim-go-asm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggvm-org/trim-go-asm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Ftrim-go-asm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Ftrim-go-asm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b4e2f5a90fc72e89dd9a72ea62065fc7103cb72 [INFO] building ggvm-org/trim-go-asm against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Ftrim-go-asm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ggvm-org/trim-go-asm on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ggvm-org/trim-go-asm [INFO] finished tweaking git repo https://github.com/ggvm-org/trim-go-asm [INFO] tweaked toml for git repo https://github.com/ggvm-org/trim-go-asm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ggvm-org/trim-go-asm 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] Downloading crates ... [INFO] [stderr] Downloaded clap v3.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcbe6b71b6c909b280381a048b9c05d0f22bda0fb8c701f3af27c7efbfa46551 [INFO] running `Command { std: "docker" "start" "-a" "fcbe6b71b6c909b280381a048b9c05d0f22bda0fb8c701f3af27c7efbfa46551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcbe6b71b6c909b280381a048b9c05d0f22bda0fb8c701f3af27c7efbfa46551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbe6b71b6c909b280381a048b9c05d0f22bda0fb8c701f3af27c7efbfa46551", kill_on_drop: false }` [INFO] [stdout] fcbe6b71b6c909b280381a048b9c05d0f22bda0fb8c701f3af27c7efbfa46551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 813b5026a4a4614ab8ebd6fbdbcfb74c3040e94c162c5b2e331a75c57aba8cfa [INFO] running `Command { std: "docker" "start" "-a" "813b5026a4a4614ab8ebd6fbdbcfb74c3040e94c162c5b2e331a75c57aba8cfa", 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 memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.1.2 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s [INFO] running `Command { std: "docker" "inspect" "813b5026a4a4614ab8ebd6fbdbcfb74c3040e94c162c5b2e331a75c57aba8cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813b5026a4a4614ab8ebd6fbdbcfb74c3040e94c162c5b2e331a75c57aba8cfa", kill_on_drop: false }` [INFO] [stdout] 813b5026a4a4614ab8ebd6fbdbcfb74c3040e94c162c5b2e331a75c57aba8cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de60a4c57a58cfd41ca0243d975f4213162a6aaf03470086b0405d0d9d7b4ae [INFO] running `Command { std: "docker" "start" "-a" "5de60a4c57a58cfd41ca0243d975f4213162a6aaf03470086b0405d0d9d7b4ae", 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 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "5de60a4c57a58cfd41ca0243d975f4213162a6aaf03470086b0405d0d9d7b4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de60a4c57a58cfd41ca0243d975f4213162a6aaf03470086b0405d0d9d7b4ae", kill_on_drop: false }` [INFO] [stdout] 5de60a4c57a58cfd41ca0243d975f4213162a6aaf03470086b0405d0d9d7b4ae