[INFO] cloning repository https://github.com/aswinsuriya16/rust-diaries [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aswinsuriya16/rust-diaries" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faswinsuriya16%2Frust-diaries", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faswinsuriya16%2Frust-diaries'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d50da1b015e0c483229a0e86b626da19d74f83d [INFO] checking aswinsuriya16/rust-diaries against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faswinsuriya16%2Frust-diaries" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aswinsuriya16/rust-diaries [INFO] finished tweaking git repo https://github.com/aswinsuriya16/rust-diaries [INFO] tweaked toml for git repo https://github.com/aswinsuriya16/rust-diaries written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aswinsuriya16/rust-diaries on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aswinsuriya16/rust-diaries 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b8e32100acbc4544520022710eb001ead838210f9b10ef4b59f4928fa65a19 [INFO] running `Command { std: "docker" "start" "-a" "18b8e32100acbc4544520022710eb001ead838210f9b10ef4b59f4928fa65a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b8e32100acbc4544520022710eb001ead838210f9b10ef4b59f4928fa65a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b8e32100acbc4544520022710eb001ead838210f9b10ef4b59f4928fa65a19", kill_on_drop: false }` [INFO] [stdout] 18b8e32100acbc4544520022710eb001ead838210f9b10ef4b59f4928fa65a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7996a366a0b2f8ac3ebb0b3c087ead8ca906117095896b52ef0cd9fc44864bfd [INFO] running `Command { std: "docker" "start" "-a" "7996a366a0b2f8ac3ebb0b3c087ead8ca906117095896b52ef0cd9fc44864bfd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Checking rust-diary v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `East`, `South`, and `West` are never constructed [INFO] [stdout] --> src/structs_enums/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | North, [INFO] [stdout] 3 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_male` and `age` are never read [INFO] [stdout] --> src/adv/copynclone.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | is_male : bool,// implents copy [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | age : u32, // implements copy [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, 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: fields `is_male` and `age` are never read [INFO] [stdout] --> src/adv/copynclone.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | is_male : bool,// implents copy [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | age : u32, // implements copy [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, 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: variants `East`, `South`, and `West` are never constructed [INFO] [stdout] --> src/structs_enums/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | North, [INFO] [stdout] 3 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structs_enums/struct.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Person { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | fn new(name:String,age:i32)->Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `staticFn` should have a snake case name [INFO] [stdout] --> src/structs_enums/struct.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn staticFn()->String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `static_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structs_enums/struct.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Person { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | fn new(name:String,age:i32)->Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `staticFn` should have a snake case name [INFO] [stdout] --> src/structs_enums/struct.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn staticFn()->String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `static_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/adv/debugMan.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug,Formatter,write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/adv/debugMan.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | name : String, [INFO] [stdout] 5 | age : u32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/adv/debugMan.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug,Formatter,write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/adv/debugMan.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | name : String, [INFO] [stdout] 5 | age : u32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.51s [INFO] running `Command { std: "docker" "inspect" "7996a366a0b2f8ac3ebb0b3c087ead8ca906117095896b52ef0cd9fc44864bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7996a366a0b2f8ac3ebb0b3c087ead8ca906117095896b52ef0cd9fc44864bfd", kill_on_drop: false }` [INFO] [stdout] 7996a366a0b2f8ac3ebb0b3c087ead8ca906117095896b52ef0cd9fc44864bfd