[INFO] cloning repository https://github.com/archer884/vchk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archer884/vchk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fvchk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fvchk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0cfd9061ebad437378fabd298698aa89784daf7 [INFO] checking archer884/vchk/a0cfd9061ebad437378fabd298698aa89784daf7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fvchk" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archer884/vchk on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archer884/vchk [INFO] finished tweaking git repo https://github.com/archer884/vchk [INFO] tweaked toml for git repo https://github.com/archer884/vchk written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/archer884/vchk 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7aef730c497ee5483476eeef7237e9a9f1e04a7bcab774e3e1b0c8e31cd90c9 [INFO] running `Command { std: "docker" "start" "-a" "d7aef730c497ee5483476eeef7237e9a9f1e04a7bcab774e3e1b0c8e31cd90c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7aef730c497ee5483476eeef7237e9a9f1e04a7bcab774e3e1b0c8e31cd90c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7aef730c497ee5483476eeef7237e9a9f1e04a7bcab774e3e1b0c8e31cd90c9", kill_on_drop: false }` [INFO] [stdout] d7aef730c497ee5483476eeef7237e9a9f1e04a7bcab774e3e1b0c8e31cd90c9 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d4be1ec0cf0301c21dc779675f0217ee172818ec590c1a505fa81071772d6c [INFO] running `Command { std: "docker" "start" "-a" "a5d4be1ec0cf0301c21dc779675f0217ee172818ec590c1a505fa81071772d6c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking vchk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / box BufReader::new(File::open(&Path::new("/usr/share/dict/words")).unwrap()) [INFO] [stdout] 36 | | .lines() [INFO] [stdout] 37 | | .map(|l| VWord::new(l.unwrap())) [INFO] [stdout] 38 | | .filter(move |vword| if req_ordered { [INFO] [stdout] ... | [INFO] [stdout] 41 | | vword.has_all_vowels() [INFO] [stdout] 42 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 35 ~ Box::new(BufReader::new(File::open(&Path::new("/usr/share/dict/words")).unwrap()) [INFO] [stdout] 36 | .lines() [INFO] [stdout] ... [INFO] [stdout] 41 | vword.has_all_vowels() [INFO] [stdout] 42 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / box BufReader::new(File::open(&Path::new("/usr/share/dict/words")).unwrap()) [INFO] [stdout] 36 | | .lines() [INFO] [stdout] 37 | | .map(|l| VWord::new(l.unwrap())) [INFO] [stdout] 38 | | .filter(move |vword| if req_ordered { [INFO] [stdout] ... | [INFO] [stdout] 41 | | vword.has_all_vowels() [INFO] [stdout] 42 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 35 ~ Box::new(BufReader::new(File::open(&Path::new("/usr/share/dict/words")).unwrap()) [INFO] [stdout] 36 | .lines() [INFO] [stdout] ... [INFO] [stdout] 41 | vword.has_all_vowels() [INFO] [stdout] 42 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufReadExt` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufReader, BufReadExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `BufReadExt` in `io` [INFO] [stdout] | help: a similar name exists in the module: `BufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufReadExt` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufReader, BufReadExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `BufReadExt` in `io` [INFO] [stdout] | help: a similar name exists in the module: `BufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufReader, BufReadExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufReader, BufReadExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `env` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `env` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `path` [INFO] [stdout] --> src/main.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fs` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `path` [INFO] [stdout] --> src/main.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fs` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, env, fs, io, path)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_count(words: Box>) { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn print_count(words: Box>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_count(words: Box>) { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn print_count(words: Box>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn print_words(words: Box>) { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn print_words(words: Box>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn print_words(words: Box>) { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn print_words(words: Box>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_words<'a>(req_ordered: bool) -> Box + 'a> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn get_words<'a>(req_ordered: bool) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_words<'a>(req_ordered: bool) -> Box + 'a> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn get_words<'a>(req_ordered: bool) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vchk` (bin "vchk" test) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vchk` (bin "vchk") due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5d4be1ec0cf0301c21dc779675f0217ee172818ec590c1a505fa81071772d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d4be1ec0cf0301c21dc779675f0217ee172818ec590c1a505fa81071772d6c", kill_on_drop: false }` [INFO] [stdout] a5d4be1ec0cf0301c21dc779675f0217ee172818ec590c1a505fa81071772d6c