[INFO] cloning repository https://github.com/xzyqiu/selim-learns-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xzyqiu/selim-learns-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxzyqiu%2Fselim-learns-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxzyqiu%2Fselim-learns-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac40ee397be9a2dcb70a7017b4389ecc61f27302 [INFO] checking xzyqiu/selim-learns-rust against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxzyqiu%2Fselim-learns-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xzyqiu/selim-learns-rust [INFO] finished tweaking git repo https://github.com/xzyqiu/selim-learns-rust [INFO] tweaked toml for git repo https://github.com/xzyqiu/selim-learns-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xzyqiu/selim-learns-rust on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xzyqiu/selim-learns-rust 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scale-bits v0.7.0 [INFO] [stderr] Downloaded io v0.0.2 [INFO] [stderr] Downloaded scale-encode-derive v0.10.1 [INFO] [stderr] Downloaded gstd v1.10.0 [INFO] [stderr] Downloaded gstd-codegen v1.10.0 [INFO] [stderr] Downloaded str-buf v3.0.3 [INFO] [stderr] Downloaded scale-type-resolver v0.2.0 [INFO] [stderr] Downloaded scale-decode v0.16.2 [INFO] [stderr] Downloaded gear-ss58 v1.10.0 [INFO] [stderr] Downloaded gprimitives v1.10.0 [INFO] [stderr] Downloaded scale-encode v0.10.1 [INFO] [stderr] Downloaded gmeta v1.7.1 [INFO] [stderr] Downloaded gear-core-errors v1.10.0 [INFO] [stderr] Downloaded gcore v1.10.0 [INFO] [stderr] Downloaded libc-print v0.1.23 [INFO] [stderr] Downloaded gsys v1.10.0 [INFO] [stderr] Downloaded scale-decode-derive v0.16.2 [INFO] [stderr] Downloaded gear-dlmalloc v0.2.0 [INFO] [stderr] Downloaded galloc v1.10.0 [INFO] [stderr] Downloaded gear-stack-buffer v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3321cec7ade6e6110d301923c57d1cb4a74517da66e77dd2ffd7d59293aeacaf [INFO] running `Command { std: "docker" "start" "-a" "3321cec7ade6e6110d301923c57d1cb4a74517da66e77dd2ffd7d59293aeacaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3321cec7ade6e6110d301923c57d1cb4a74517da66e77dd2ffd7d59293aeacaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3321cec7ade6e6110d301923c57d1cb4a74517da66e77dd2ffd7d59293aeacaf", kill_on_drop: false }` [INFO] [stdout] 3321cec7ade6e6110d301923c57d1cb4a74517da66e77dd2ffd7d59293aeacaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8956d9016e90ae7f8e8605b3ebbae1799513ab033156f9776d77f00893226a49 [INFO] running `Command { std: "docker" "start" "-a" "8956d9016e90ae7f8e8605b3ebbae1799513ab033156f9776d77f00893226a49", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking scale-type-resolver v0.2.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling gear-stack-buffer v1.10.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking gear-ss58 v1.10.0 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Checking str-buf v3.0.3 [INFO] [stderr] Compiling gcore v1.10.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking gsys v1.10.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking galloc v1.10.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling scale-decode-derive v0.16.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling scale-encode-derive v0.10.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking scale-bits v0.7.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking scale-decode v0.16.2 [INFO] [stderr] Checking scale-encode v0.10.1 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking gmeta v1.7.1 [INFO] [stderr] Checking gear-core-errors v1.10.0 [INFO] [stderr] Checking gprimitives v1.10.0 [INFO] [stderr] Compiling gstd-codegen v1.10.0 [INFO] [stderr] Checking gstd v1.10.0 [INFO] [stderr] Checking io v0.0.2 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/color.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/color.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 73 | (_, Ordering::Greater, Ordering::Greater) => println!("{}", "The color is Green".green()), [INFO] [stdout] | ----------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 80 | (Ordering::Less, Ordering::Greater, Ordering::Greater) => println!("{}", "The color is Teal".bright_cyan()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 73 | (_, Ordering::Greater, Ordering::Greater) => println!("{}", "The color is Green".green()), [INFO] [stdout] | ----------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 80 | (Ordering::Less, Ordering::Greater, Ordering::Greater) => println!("{}", "The color is Teal".bright_cyan()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 72 | (Ordering::Greater, Ordering::Greater, _) => println!("{}", "The color is Red".red()), [INFO] [stdout] | ----------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 81 | (Ordering::Greater, Ordering::Greater, Ordering::Less) => println!("{}", "The color is Pink".bright_red()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 72 | (Ordering::Greater, Ordering::Greater, _) => println!("{}", "The color is Red".red()), [INFO] [stdout] | ----------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 81 | (Ordering::Greater, Ordering::Greater, Ordering::Less) => println!("{}", "The color is Pink".bright_red()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 71 | (Ordering::Less, Ordering::Less, _) => println!("{}", "The color is Blue".blue()), [INFO] [stdout] | ----------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 82 | (Ordering::Less, Ordering::Less, Ordering::Equal) => println!("{}", "The color is Navy".bright_blue()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 71 | (Ordering::Less, Ordering::Less, _) => println!("{}", "The color is Blue".blue()), [INFO] [stdout] | ----------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 82 | (Ordering::Less, Ordering::Less, Ordering::Equal) => println!("{}", "The color is Navy".bright_blue()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 76 | (Ordering::Less, Ordering::Equal, _) => println!("{}", "The color is Magenta".magenta()), [INFO] [stdout] | ------------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 85 | (Ordering::Less, Ordering::Equal, Ordering::Greater) => println!("{}", "The color is Aqua".bright_cyan()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/color.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 76 | (Ordering::Less, Ordering::Equal, _) => println!("{}", "The color is Magenta".magenta()), [INFO] [stdout] | ------------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 85 | (Ordering::Less, Ordering::Equal, Ordering::Greater) => println!("{}", "The color is Aqua".bright_cyan()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TransferError` is never constructed [INFO] [stdout] --> src/bank.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum BankingError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | TransferError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BankingError` 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: field `id` is never read [INFO] [stdout] --> src/bank.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 33 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TransferError` is never constructed [INFO] [stdout] --> src/bank.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum BankingError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | TransferError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BankingError` 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: field `id` is never read [INFO] [stdout] --> src/bank.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 33 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.70s [INFO] running `Command { std: "docker" "inspect" "8956d9016e90ae7f8e8605b3ebbae1799513ab033156f9776d77f00893226a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8956d9016e90ae7f8e8605b3ebbae1799513ab033156f9776d77f00893226a49", kill_on_drop: false }` [INFO] [stdout] 8956d9016e90ae7f8e8605b3ebbae1799513ab033156f9776d77f00893226a49