[INFO] cloning repository https://github.com/FrankYang4/learning-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrankYang4/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankYang4%2Flearning-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankYang4%2Flearning-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17008ef4e40720b3cc35879685621cb06d8b553b
[INFO] checking FrankYang4/learning-rust against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankYang4%2Flearning-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/FrankYang4/learning-rust
[INFO] finished tweaking git repo https://github.com/FrankYang4/learning-rust
[INFO] tweaked toml for git repo https://github.com/FrankYang4/learning-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/FrankYang4/learning-rust on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/FrankYang4/learning-rust 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0bfc49e5e395ed5d920a8f8cc85c6661985adc2d08694d1d81fa716e8d6f5288
[INFO] running `Command { std: "docker" "start" "-a" "0bfc49e5e395ed5d920a8f8cc85c6661985adc2d08694d1d81fa716e8d6f5288", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0bfc49e5e395ed5d920a8f8cc85c6661985adc2d08694d1d81fa716e8d6f5288", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bfc49e5e395ed5d920a8f8cc85c6661985adc2d08694d1d81fa716e8d6f5288", kill_on_drop: false }`
[INFO] [stdout] 0bfc49e5e395ed5d920a8f8cc85c6661985adc2d08694d1d81fa716e8d6f5288
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 176449cbb7e55ce34c73a3f958cd21038db0c972f6fb6863112802face2bb9ee
[INFO] running `Command { std: "docker" "start" "-a" "176449cbb7e55ce34c73a3f958cd21038db0c972f6fb6863112802face2bb9ee", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking learning_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> examples/for_loop.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0...10 {
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 -     for i in 0...10 {
[INFO] [stdout] 3 +     for i in 0..10 {
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 -     for i in 0...10 {
[INFO] [stdout] 3 +     for i in 0..=10 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> examples/for_loop.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(inclusive_range_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning_rust` (example "for_loop") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]  --> examples/boxes.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let boxed = Some(box 5);
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]   |
[INFO] [stdout] 3 -     let boxed = Some(box 5);
[INFO] [stdout] 3 +     let boxed = Some(Box::new(5));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> examples/boxes.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.70.0; see <https://github.com/rust-lang/rust/pull/108471> for more information
[INFO] [stdout]   = note: replaced with `#[rustc_box]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> examples/array.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |              &arr2[1...2]);
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 10 -              &arr2[1...2]);
[INFO] [stdout] 10 +              &arr2[1..2]);
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 10 -              &arr2[1...2]);
[INFO] [stdout] 10 +              &arr2[1..=2]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> examples/match_pattern.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         d @ 1...5 => println!("weekday {}", d),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/vec.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut v5 = &mut v4;
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> examples/traits.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn sub(&self, Number) -> i32;
[INFO] [stdout]   |                   ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Number`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0557`.
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> examples/array.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(inclusive_range_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> examples/traits.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn add(&self, Number) -> i32;
[INFO] [stdout]    |                   ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Number`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning_rust` (example "boxes") due to 2 previous errors
[INFO] [stdout] warning: trait `Sub` is never used
[INFO] [stdout]  --> examples/traits.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Sub {
[INFO] [stdout]   |       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning_rust` (example "array") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "176449cbb7e55ce34c73a3f958cd21038db0c972f6fb6863112802face2bb9ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "176449cbb7e55ce34c73a3f958cd21038db0c972f6fb6863112802face2bb9ee", kill_on_drop: false }`
[INFO] [stdout] 176449cbb7e55ce34c73a3f958cd21038db0c972f6fb6863112802face2bb9ee
