[INFO] cloning repository https://github.com/plscar/rustDemo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plscar/rustDemo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2FrustDemo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2FrustDemo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69c69bc942a199c06499b93d2efe69bc29deb8ba [INFO] checking plscar/rustDemo against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2FrustDemo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/plscar/rustDemo [INFO] finished tweaking git repo https://github.com/plscar/rustDemo [INFO] tweaked toml for git repo https://github.com/plscar/rustDemo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/plscar/rustDemo on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/plscar/rustDemo 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rustDemo` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c106bf401cbe67f29ccf89453cb292addd0b91a82d458ea2cd80005a6a9b05c [INFO] running `Command { std: "docker" "start" "-a" "2c106bf401cbe67f29ccf89453cb292addd0b91a82d458ea2cd80005a6a9b05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c106bf401cbe67f29ccf89453cb292addd0b91a82d458ea2cd80005a6a9b05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c106bf401cbe67f29ccf89453cb292addd0b91a82d458ea2cd80005a6a9b05c", kill_on_drop: false }` [INFO] [stdout] 2c106bf401cbe67f29ccf89453cb292addd0b91a82d458ea2cd80005a6a9b05c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78f47f52f817b557e6a34a9d9d5196db83f23eba263a6f19c305097deb0c8827 [INFO] running `Command { std: "docker" "start" "-a" "78f47f52f817b557e6a34a9d9d5196db83f23eba263a6f19c305097deb0c8827", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rustDemo` (manifest) generated 1 warning [INFO] [stderr] Checking rustDemo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `trait_demo` should have an upper camel case name [INFO] [stdout] --> src/about_trait/mytrait.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait trait_demo { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TraitDemo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `apple` should have an upper camel case name [INFO] [stdout] --> src/about_macro/my_macro.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct apple [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Apple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `trait_demo` should have an upper camel case name [INFO] [stdout] --> src/about_trait/mytrait.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait trait_demo { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TraitDemo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `apple` should have an upper camel case name [INFO] [stdout] --> src/about_macro/my_macro.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct apple [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Apple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Banana` is never constructed [INFO] [stdout] --> src/about_trait/mytrait.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Banana [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `apple` is never constructed [INFO] [stdout] --> src/about_macro/my_macro.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct apple [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show` is never used [INFO] [stdout] --> src/about_macro/my_macro.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl apple { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | fn show(&self) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDemo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_demo` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetShow` should have a snake case name [INFO] [stdout] --> src/about_trait/mytrait.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn GetShow(item:T) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_show` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetShow_default` should have a snake case name [INFO] [stdout] --> src/about_trait/mytrait.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn GetShow_default(item:T) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_show_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetOrange` should have a snake case name [INFO] [stdout] --> src/about_trait/mytrait.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn GetOrange() [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_orange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Banana` is never constructed [INFO] [stdout] --> src/about_trait/mytrait.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Banana [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `apple` is never constructed [INFO] [stdout] --> src/about_macro/my_macro.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct apple [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show` is never used [INFO] [stdout] --> src/about_macro/my_macro.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl apple { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | fn show(&self) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetShow` should have a snake case name [INFO] [stdout] --> src/about_trait/mytrait.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn GetShow(item:T) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_show` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetShow_default` should have a snake case name [INFO] [stdout] --> src/about_trait/mytrait.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn GetShow_default(item:T) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_show_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetOrange` should have a snake case name [INFO] [stdout] --> src/about_trait/mytrait.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn GetOrange() [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_orange` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustDemo` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustDemo` (lib test) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78f47f52f817b557e6a34a9d9d5196db83f23eba263a6f19c305097deb0c8827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f47f52f817b557e6a34a9d9d5196db83f23eba263a6f19c305097deb0c8827", kill_on_drop: false }` [INFO] [stdout] 78f47f52f817b557e6a34a9d9d5196db83f23eba263a6f19c305097deb0c8827