[INFO] cloning repository https://github.com/hapqe/macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hapqe/macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapqe%2Fmacros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapqe%2Fmacros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67bee3c31df9759c3a35a57fad1a1e2a10050a3f [INFO] building hapqe/macros against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapqe%2Fmacros" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hapqe/macros [INFO] finished tweaking git repo https://github.com/hapqe/macros [INFO] tweaked toml for git repo https://github.com/hapqe/macros written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hapqe/macros on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hapqe/macros 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded confy v0.6.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded prettytable v0.10.0 [INFO] [stderr] Downloaded winnow v0.6.9 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded csv v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4212c6e1bf8eb6573681c4a0c0387ef84e6050d3d62044b3f66978a3b8276aa [INFO] running `Command { std: "docker" "start" "-a" "e4212c6e1bf8eb6573681c4a0c0387ef84e6050d3d62044b3f66978a3b8276aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4212c6e1bf8eb6573681c4a0c0387ef84e6050d3d62044b3f66978a3b8276aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4212c6e1bf8eb6573681c4a0c0387ef84e6050d3d62044b3f66978a3b8276aa", kill_on_drop: false }` [INFO] [stdout] e4212c6e1bf8eb6573681c4a0c0387ef84e6050d3d62044b3f66978a3b8276aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 658a4dc07df4e2af5e3248df2a1022b7ee4438e3e9238751793186ccbb5ff19d [INFO] running `Command { std: "docker" "start" "-a" "658a4dc07df4e2af5e3248df2a1022b7ee4438e3e9238751793186ccbb5ff19d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling winnow v0.6.9 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling prettytable v0.10.0 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling confy v0.6.1 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | quantity, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/main.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | Commands::File { file, detailed } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `detailed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | nutriens.sort_by(|a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | nutriens.sort_by(|a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nutrientName` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | nutrientName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `nutrient_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `unitName` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unitName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `unit_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fdcId` should have a snake case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | fdcId: u32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fdc_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `foodNutrients` should have a snake case name [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | foodNutrients: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `food_nutrients` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.98s [INFO] running `Command { std: "docker" "inspect" "658a4dc07df4e2af5e3248df2a1022b7ee4438e3e9238751793186ccbb5ff19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658a4dc07df4e2af5e3248df2a1022b7ee4438e3e9238751793186ccbb5ff19d", kill_on_drop: false }` [INFO] [stdout] 658a4dc07df4e2af5e3248df2a1022b7ee4438e3e9238751793186ccbb5ff19d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 364b0f531d9d2e89d846514249bbfbd19278223880ca95bfb718b5974f08d606 [INFO] running `Command { std: "docker" "start" "-a" "364b0f531d9d2e89d846514249bbfbd19278223880ca95bfb718b5974f08d606", kill_on_drop: false }` [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | quantity, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/main.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | Commands::File { file, detailed } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `detailed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | nutriens.sort_by(|a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | nutriens.sort_by(|a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nutrientName` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | nutrientName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `nutrient_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `unitName` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unitName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `unit_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fdcId` should have a snake case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | fdcId: u32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fdc_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `foodNutrients` should have a snake case name [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | foodNutrients: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `food_nutrients` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "364b0f531d9d2e89d846514249bbfbd19278223880ca95bfb718b5974f08d606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364b0f531d9d2e89d846514249bbfbd19278223880ca95bfb718b5974f08d606", kill_on_drop: false }` [INFO] [stdout] 364b0f531d9d2e89d846514249bbfbd19278223880ca95bfb718b5974f08d606