[INFO] cloning repository https://github.com/Riku-KANO/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Riku-KANO/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiku-KANO%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiku-KANO%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 271a63f11d08b3b119aa9cb942b61ac441fae9d4 [INFO] checking Riku-KANO/rust_practice against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiku-KANO%2Frust_practice" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Riku-KANO/rust_practice [INFO] finished tweaking git repo https://github.com/Riku-KANO/rust_practice [INFO] tweaked toml for git repo https://github.com/Riku-KANO/rust_practice written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Riku-KANO/rust_practice on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Riku-KANO/rust_practice 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proconio-derive v0.1.9 [INFO] [stderr] Downloaded proconio v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 574e48f84c4764c3bae397f4e14ed942e12e9653f090862672d36b3c559ec5e1 [INFO] running `Command { std: "docker" "start" "-a" "574e48f84c4764c3bae397f4e14ed942e12e9653f090862672d36b3c559ec5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "574e48f84c4764c3bae397f4e14ed942e12e9653f090862672d36b3c559ec5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574e48f84c4764c3bae397f4e14ed942e12e9653f090862672d36b3c559ec5e1", kill_on_drop: false }` [INFO] [stdout] 574e48f84c4764c3bae397f4e14ed942e12e9653f090862672d36b3c559ec5e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39c803c8dbbdecec93ef34f372eb568dc8fdc6a293762c0e715f056ef54ea8e3 [INFO] running `Command { std: "docker" "start" "-a" "39c803c8dbbdecec93ef34f372eb568dc8fdc6a293762c0e715f056ef54ea8e3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proconio-derive v0.1.9 [INFO] [stderr] Checking proconio v0.3.8 [INFO] [stderr] Checking rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ownership.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | let mut z = &x; // 変数xに対する不変参照。zは不変参照型をもつ可変変数。 [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ownership.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | let mut c = &mut a; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/ownership.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | let y = &x; // 変数xに対する不変参照。yは不変参照型をもつ不変変数。 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> examples/ownership.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | let mut z = &x; // 変数xに対する不変参照。zは不変参照型をもつ可変変数。 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/ownership.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | let b = &mut a; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/ownership.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | let mut c = &mut a; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ownership.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | let mut y = &mut x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ownership.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | let mut z = &mut x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/ownership.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let b = &a; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/ownership.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | let c = &a; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/ownership.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | let mut y = &mut x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> examples/ownership.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | let mut z = &mut x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `case1` is never used [INFO] [stdout] --> examples/ownership.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn case1() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `case3` is never used [INFO] [stdout] --> examples/ownership.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn case3() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `case4` is never used [INFO] [stdout] --> examples/ownership.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn case4() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/ownership.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | case2(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = case2(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `case1` is never used [INFO] [stdout] --> examples/thread.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn case1() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `case2` is never used [INFO] [stdout] --> examples/thread.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn case2() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `num` are never read [INFO] [stdout] --> examples/thread.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 40 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 41 | id: usize, [INFO] [stdout] 42 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/thread.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 59 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 60 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SLEEP_TIME` should have a snake case name [INFO] [stdout] --> examples/thread.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | let SLEEP_TIME = 1; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sleep_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/thread.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | case3(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = case3(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "39c803c8dbbdecec93ef34f372eb568dc8fdc6a293762c0e715f056ef54ea8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c803c8dbbdecec93ef34f372eb568dc8fdc6a293762c0e715f056ef54ea8e3", kill_on_drop: false }` [INFO] [stdout] 39c803c8dbbdecec93ef34f372eb568dc8fdc6a293762c0e715f056ef54ea8e3