[INFO] cloning repository https://github.com/cutsea110/salary-payroll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cutsea110/salary-payroll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutsea110%2Fsalary-payroll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutsea110%2Fsalary-payroll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 484295de9b0682ca9b69cef26eaca885f1d86eaa [INFO] checking cutsea110/salary-payroll/484295de9b0682ca9b69cef26eaca885f1d86eaa against try#24cd45d7714ba43afd4b8e62fb677b069b21c4a5 for pr-129543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutsea110%2Fsalary-payroll" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cutsea110/salary-payroll on toolchain 24cd45d7714ba43afd4b8e62fb677b069b21c4a5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cutsea110/salary-payroll [INFO] finished tweaking git repo https://github.com/cutsea110/salary-payroll [INFO] tweaked toml for git repo https://github.com/cutsea110/salary-payroll written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cutsea110/salary-payroll 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" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ca81d3e6d1fe27d6c91f36692a83d36156bf197d300e045079fb2815ee98819 [INFO] running `Command { std: "docker" "start" "-a" "6ca81d3e6d1fe27d6c91f36692a83d36156bf197d300e045079fb2815ee98819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ca81d3e6d1fe27d6c91f36692a83d36156bf197d300e045079fb2815ee98819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca81d3e6d1fe27d6c91f36692a83d36156bf197d300e045079fb2815ee98819", kill_on_drop: false }` [INFO] [stdout] 6ca81d3e6d1fe27d6c91f36692a83d36156bf197d300e045079fb2815ee98819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a8c96c3a0b79401706e236fadda786c7fd46531b8734a3cd39958179cc93ed [INFO] running `Command { std: "docker" "start" "-a" "b2a8c96c3a0b79401706e236fadda786c7fd46531b8734a3cd39958179cc93ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking tx-rs v0.1.0 (https://github.com/cutsea110/fragments.git?branch=main#82d886fb) [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking parsec-rs v0.1.0 (https://github.com/cutsea110/fragments.git?branch=main#82d886fb) [INFO] [stderr] Checking salary-payroll v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `salary` is never read [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct SalariedClassification { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 23 | salary: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SalariedClassification` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hourly_rate` is never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct HourlyClassification { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 28 | hourly_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HourlyClassification` 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: fields `salary` and `commission_rate` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct CommissionedClassification { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 33 | salary: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | commission_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommissionedClassification` 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: fields `name`, `address`, `classification`, `schedule`, and `method` are never read [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Employee { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | id: u32, [INFO] [stdout] 59 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | classification: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | schedule: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | method: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Employee` 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: method `get_employee` is never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | trait Dao { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 68 | fn add_employee(&self, employee: Employee); [INFO] [stdout] 69 | fn get_employee(&self, id: u32) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/main.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 352 | struct TransactionSourceImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 353 | db: GPayrollDatabase, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `salary` is never read [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct SalariedClassification { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 23 | salary: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SalariedClassification` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hourly_rate` is never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct HourlyClassification { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 28 | hourly_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HourlyClassification` 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: fields `salary` and `commission_rate` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct CommissionedClassification { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 33 | salary: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | commission_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommissionedClassification` 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: fields `name`, `address`, `classification`, `schedule`, and `method` are never read [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Employee { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | id: u32, [INFO] [stdout] 59 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | classification: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | schedule: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | method: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Employee` 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: method `get_employee` is never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | trait Dao { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 68 | fn add_employee(&self, employee: Employee); [INFO] [stdout] 69 | fn get_employee(&self, id: u32) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/main.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 352 | struct TransactionSourceImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 353 | db: GPayrollDatabase, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.55s [INFO] running `Command { std: "docker" "inspect" "b2a8c96c3a0b79401706e236fadda786c7fd46531b8734a3cd39958179cc93ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a8c96c3a0b79401706e236fadda786c7fd46531b8734a3cd39958179cc93ed", kill_on_drop: false }` [INFO] [stdout] b2a8c96c3a0b79401706e236fadda786c7fd46531b8734a3cd39958179cc93ed