[INFO] cloning repository https://github.com/plotskogwq/cargo-lipo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plotskogwq/cargo-lipo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplotskogwq%2Fcargo-lipo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplotskogwq%2Fcargo-lipo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdd69e8d96665e7516df3ee416be642a80363a6f [INFO] checking plotskogwq/cargo-lipo against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplotskogwq%2Fcargo-lipo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plotskogwq/cargo-lipo on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/plotskogwq/cargo-lipo [INFO] finished tweaking git repo https://github.com/plotskogwq/cargo-lipo [INFO] tweaked toml for git repo https://github.com/plotskogwq/cargo-lipo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/plotskogwq/cargo-lipo 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86fa539016b84cafe5f189f58966ee4ce0d1c7eaf9660d49b637196edb2c0657 [INFO] running `Command { std: "docker" "start" "-a" "86fa539016b84cafe5f189f58966ee4ce0d1c7eaf9660d49b637196edb2c0657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86fa539016b84cafe5f189f58966ee4ce0d1c7eaf9660d49b637196edb2c0657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fa539016b84cafe5f189f58966ee4ce0d1c7eaf9660d49b637196edb2c0657", kill_on_drop: false }` [INFO] [stdout] 86fa539016b84cafe5f189f58966ee4ce0d1c7eaf9660d49b637196edb2c0657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a57a5332412c7f67f71927ef8bbd1d0c6494809840963e44b22fbf8fcd7d56f [INFO] running `Command { std: "docker" "start" "-a" "6a57a5332412c7f67f71927ef8bbd1d0c6494809840963e44b22fbf8fcd7d56f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Checking strsim v0.4.1 [INFO] [stderr] Checking serde v0.7.15 [INFO] [stderr] Checking ansi_term v0.7.5 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking clap v2.2.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.7.4 [INFO] [stderr] Checking cargo-lipo v2.0.0-beta-3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(any(test, target = "i686-apple-darwin", target = "x86_64-apple-darwin")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("i686-apple-darwin"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"i686-apple-darwin\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/main.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(any(test, target = "i686-apple-darwin", target = "x86_64-apple-darwin")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("x86_64-apple-darwin"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"x86_64-apple-darwin\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let lib_name = try!(find_lib_name(verbose)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(build_triple(BuildOptions { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let target_path = try!(find_target_path(verbose)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let targets = trm!(ERR; json_get!(Array, value.targets)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | let kinds = trm!(ERR; json_get!(Array, target.kind)); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | lib_name = Some(trm!(ERR; json_get!(String, target.name))); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | let target_directory = trm!(ERR; json_get!(String, value.target_directory)); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(any(test, target = "i686-apple-darwin", target = "x86_64-apple-darwin")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("i686-apple-darwin"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"i686-apple-darwin\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/main.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(any(test, target = "i686-apple-darwin", target = "x86_64-apple-darwin")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("x86_64-apple-darwin"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"x86_64-apple-darwin\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let lib_name = try!(find_lib_name(verbose)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(build_triple(BuildOptions { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let target_path = try!(find_target_path(verbose)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let targets = trm!(ERR; json_get!(Array, value.targets)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | let kinds = trm!(ERR; json_get!(Array, target.kind)); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | lib_name = Some(trm!(ERR; json_get!(String, target.name))); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/json_macros.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | let target_directory = trm!(ERR; json_get!(String, value.target_directory)); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `json_get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.5.0, cargo-lipo v2.0.0-beta-3 (/opt/rustwide/workdir), clap v2.2.6 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6a57a5332412c7f67f71927ef8bbd1d0c6494809840963e44b22fbf8fcd7d56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a57a5332412c7f67f71927ef8bbd1d0c6494809840963e44b22fbf8fcd7d56f", kill_on_drop: false }` [INFO] [stdout] 6a57a5332412c7f67f71927ef8bbd1d0c6494809840963e44b22fbf8fcd7d56f