[INFO] cloning repository https://github.com/da-ar/rusty_pet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/da-ar/rusty_pet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-ar%2Frusty_pet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-ar%2Frusty_pet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf809f03a649b0d4c559f34004e1b56457d31fca [INFO] building da-ar/rusty_pet against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-ar%2Frusty_pet" "/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/da-ar/rusty_pet [INFO] finished tweaking git repo https://github.com/da-ar/rusty_pet [INFO] tweaked toml for git repo https://github.com/da-ar/rusty_pet written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/da-ar/rusty_pet 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/da-ar/rusty_pet 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.10 [INFO] [stderr] Downloaded ctrlc v3.4.2 [INFO] [stderr] Downloaded anstream v0.6.12 [INFO] [stderr] Downloaded toml_edit v0.22.6 [INFO] [stderr] Downloaded bumpalo v3.15.0 [INFO] [stderr] Downloaded winnow v0.6.1 [INFO] [stderr] Downloaded syn v2.0.49 [INFO] [stderr] Downloaded openssl v0.10.63 [INFO] [stderr] Downloaded cliclack v0.1.12 [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] 3a5002e51fa9160287732f4237015c5bb41d7fe916b3a8041b724cdddb84ae43 [INFO] running `Command { std: "docker" "start" "-a" "3a5002e51fa9160287732f4237015c5bb41d7fe916b3a8041b724cdddb84ae43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5002e51fa9160287732f4237015c5bb41d7fe916b3a8041b724cdddb84ae43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5002e51fa9160287732f4237015c5bb41d7fe916b3a8041b724cdddb84ae43", kill_on_drop: false }` [INFO] [stdout] 3a5002e51fa9160287732f4237015c5bb41d7fe916b3a8041b724cdddb84ae43 [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] 165f3649b1835e2fdd5097cf2bfa2f1f49c8e052cf55277a7fd768f722df4910 [INFO] running `Command { std: "docker" "start" "-a" "165f3649b1835e2fdd5097cf2bfa2f1f49c8e052cf55277a7fd768f722df4910", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling winnow v0.6.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling ctrlc v3.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling cliclack v0.1.12 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling rusty_pet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> src/main.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | async fn do_list(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | async fn do_list(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> src/main.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | async fn do_status(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | async fn do_status(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> src/api/client.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 14 | pub user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/client.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub email_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub country_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub language_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub marketing_opt_in: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub terms_accepted: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub weight_units: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub time_format: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.63s [INFO] running `Command { std: "docker" "inspect" "165f3649b1835e2fdd5097cf2bfa2f1f49c8e052cf55277a7fd768f722df4910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165f3649b1835e2fdd5097cf2bfa2f1f49c8e052cf55277a7fd768f722df4910", kill_on_drop: false }` [INFO] [stdout] 165f3649b1835e2fdd5097cf2bfa2f1f49c8e052cf55277a7fd768f722df4910 [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] 191604aa9903b6f2cc0f0297db2529b7b92513b683e792c618741f6bdc5c966b [INFO] running `Command { std: "docker" "start" "-a" "191604aa9903b6f2cc0f0297db2529b7b92513b683e792c618741f6bdc5c966b", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_pet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> src/main.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | async fn do_list(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | async fn do_list(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> src/main.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | async fn do_status(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | async fn do_status(api_client: &Client, token: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> src/api/client.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 14 | pub user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/client.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub email_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub country_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub language_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub marketing_opt_in: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub terms_accepted: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub weight_units: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub time_format: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "191604aa9903b6f2cc0f0297db2529b7b92513b683e792c618741f6bdc5c966b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191604aa9903b6f2cc0f0297db2529b7b92513b683e792c618741f6bdc5c966b", kill_on_drop: false }` [INFO] [stdout] 191604aa9903b6f2cc0f0297db2529b7b92513b683e792c618741f6bdc5c966b