[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#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2FrustDemo" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plscar/rustDemo on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/plscar/rustDemo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 37b7efa24420d44c1c16dde738d0662539ccc8c89fb4dcf0ff346baf4e641d93 [INFO] running `Command { std: "docker" "start" "-a" "37b7efa24420d44c1c16dde738d0662539ccc8c89fb4dcf0ff346baf4e641d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b7efa24420d44c1c16dde738d0662539ccc8c89fb4dcf0ff346baf4e641d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b7efa24420d44c1c16dde738d0662539ccc8c89fb4dcf0ff346baf4e641d93", kill_on_drop: false }` [INFO] [stdout] 37b7efa24420d44c1c16dde738d0662539ccc8c89fb4dcf0ff346baf4e641d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64bbf5debf984e7da29e77ab9bbf18be1191152a9bba3bcf0c0bb17aa7b80f21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64bbf5debf984e7da29e77ab9bbf18be1191152a9bba3bcf0c0bb17aa7b80f21", kill_on_drop: false }` [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)]` 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: struct is never constructed: `apple` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/about_macro/my_macro.rs:23:8 [INFO] [stdout] | [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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_demo` [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] 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)]` 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `apple` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/about_macro/my_macro.rs:23:8 [INFO] [stdout] | [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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_demo` [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] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDemo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_demo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDemo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_demo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "64bbf5debf984e7da29e77ab9bbf18be1191152a9bba3bcf0c0bb17aa7b80f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64bbf5debf984e7da29e77ab9bbf18be1191152a9bba3bcf0c0bb17aa7b80f21", kill_on_drop: false }` [INFO] [stdout] 64bbf5debf984e7da29e77ab9bbf18be1191152a9bba3bcf0c0bb17aa7b80f21