[INFO] cloning repository https://github.com/tiuuuuPJ/antbook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiuuuuPJ/antbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtiuuuuPJ%2Fantbook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtiuuuuPJ%2Fantbook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ce9c4b9cffbd20d86b9d47971e58ec6b1418e08
[INFO] checking tiuuuuPJ/antbook/2ce9c4b9cffbd20d86b9d47971e58ec6b1418e08 against master#b52edc25bfbaa955b4b83c10f998e5224c3478b2 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtiuuuuPJ%2Fantbook" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tiuuuuPJ/antbook
[INFO] finished tweaking git repo https://github.com/tiuuuuPJ/antbook
[INFO] tweaked toml for git repo https://github.com/tiuuuuPJ/antbook written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tiuuuuPJ/antbook on toolchain b52edc25bfbaa955b4b83c10f998e5224c3478b2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tiuuuuPJ/antbook 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" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f284145d6ad3b65b75c415ebcc025bbbd220248e9775c178f458ff84220eaf58
[INFO] running `Command { std: "docker" "start" "-a" "f284145d6ad3b65b75c415ebcc025bbbd220248e9775c178f458ff84220eaf58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f284145d6ad3b65b75c415ebcc025bbbd220248e9775c178f458ff84220eaf58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f284145d6ad3b65b75c415ebcc025bbbd220248e9775c178f458ff84220eaf58", kill_on_drop: false }`
[INFO] [stdout] f284145d6ad3b65b75c415ebcc025bbbd220248e9775c178f458ff84220eaf58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42327965ebd39df4169f8b833d4d53755ce53804580cc40d7b84109fe1b416fb
[INFO] running `Command { std: "docker" "start" "-a" "42327965ebd39df4169f8b833d4d53755ce53804580cc40d7b84109fe1b416fb", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking antbook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/chapter-2/file_read_test.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn cat_file(stream: &mut BufRead) {
[INFO] [stdout]    |                          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn cat_file(stream: &mut dyn BufRead) {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DFS` should have a snake case name
[INFO] [stdout]   --> src/chapter-2/maze.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn DFS(map: &mut Vec<Vec<char>>, flag: &mut bool) -> bool {
[INFO] [stdout]    |    ^^^ help: convert the identifier to snake case: `dfs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/chapter-1/2.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 let mut len = a[i] + a[j] + a[k];
[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]   --> src/chapter-1/2.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 let mut max_a = cmp::max(cmp::max(a[i], a[j]), a[k]);
[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]   --> src/chapter-1/2.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 let mut len = a[i] + a[j] + a[k];
[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]   --> src/chapter-1/2.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 let mut max_a = cmp::max(cmp::max(a[i], a[j]), a[k]);
[INFO] [stdout]    |                     ----^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DFS` should have a snake case name
[INFO] [stdout]   --> src/chapter-2/maze.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn DFS(map: &mut Vec<Vec<char>>, flag: &mut bool) -> bool {
[INFO] [stdout]    |    ^^^ help: convert the identifier to snake case: `dfs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/chapter-2/file_read_test.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn cat_file(stream: &mut BufRead) {
[INFO] [stdout]    |                          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn cat_file(stream: &mut dyn BufRead) {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "42327965ebd39df4169f8b833d4d53755ce53804580cc40d7b84109fe1b416fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42327965ebd39df4169f8b833d4d53755ce53804580cc40d7b84109fe1b416fb", kill_on_drop: false }`
[INFO] [stdout] 42327965ebd39df4169f8b833d4d53755ce53804580cc40d7b84109fe1b416fb
