[INFO] fetching crate tack-it-on 1.0.1... [INFO] testing tack-it-on-1.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate tack-it-on 1.0.1 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate tack-it-on 1.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tack-it-on 1.0.1 [INFO] finished tweaking crates.io crate tack-it-on 1.0.1 [INFO] tweaked toml for crates.io crate tack-it-on 1.0.1 written to /workspace/builds/worker-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bff72c22c3d2d570c5b5bc06743325b81a10d04d49421dc64346d5bc5518b302 [INFO] running `Command { std: "docker" "start" "-a" "bff72c22c3d2d570c5b5bc06743325b81a10d04d49421dc64346d5bc5518b302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bff72c22c3d2d570c5b5bc06743325b81a10d04d49421dc64346d5bc5518b302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff72c22c3d2d570c5b5bc06743325b81a10d04d49421dc64346d5bc5518b302", kill_on_drop: false }` [INFO] [stdout] bff72c22c3d2d570c5b5bc06743325b81a10d04d49421dc64346d5bc5518b302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ae425b95653c80d97da50424cc0767590acfe4a958c38444150bab345b31fca [INFO] running `Command { std: "docker" "start" "-a" "0ae425b95653c80d97da50424cc0767590acfe4a958c38444150bab345b31fca", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling text_io v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tack-it-on v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn run() -> Result<(), Box> { [INFO] [stdout] 21 + pub fn run() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/init.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_init() -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn run_init() -> Result<(), Box> { [INFO] [stdout] 17 + pub fn run_init() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/init.rs:37:72 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn find_tacked_notes(dir: &PathBuf) -> Result, 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn find_tacked_notes(dir: &PathBuf) -> Result, Box> { [INFO] [stdout] 37 + pub fn find_tacked_notes(dir: &PathBuf) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/note.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_note(input: &clap::ArgMatches) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn run_note(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] 35 + pub fn run_note(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/note.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - -> Result<(), Box> { [INFO] [stdout] 51 + -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/note.rs:66:76 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_notes(tacked_dir: &PathBuf) -> Result<(PathBuf, Vec), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - pub fn get_notes(tacked_dir: &PathBuf) -> Result<(PathBuf, Vec), Box> { [INFO] [stdout] 66 + pub fn get_notes(tacked_dir: &PathBuf) -> Result<(PathBuf, Vec), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/note.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | -> Result, 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - -> Result, Box> { [INFO] [stdout] 84 + -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/note.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - -> Result<(), Box> { [INFO] [stdout] 116 + -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/show.rs:12:61 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_show(input: &clap::ArgMatches) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn run_show(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] 12 + pub fn run_show(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/show.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | fn show_notes(tacked_dir: &PathBuf) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn show_notes(tacked_dir: &PathBuf) -> Result<(), Box> { [INFO] [stdout] 26 + fn show_notes(tacked_dir: &PathBuf) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rm.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_rm(input: &clap::ArgMatches) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn run_rm(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] 12 + pub fn run_rm(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rm.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_note(id: &str, tacked_dir: &PathBuf) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn remove_note(id: &str, tacked_dir: &PathBuf) -> Result<(), Box> { [INFO] [stdout] 28 + fn remove_note(id: &str, tacked_dir: &PathBuf) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:97:50 [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push(component.as_ref()); [INFO] [stdout] | ----------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Component<'_>: AsRef<_>` found in the `std` crate: [INFO] [stdout] - impl<> AsRef for Component<'_>; [INFO] [stdout] - impl<> AsRef for Component<'_>; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push( as AsRef>::as_ref(component)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 97 | path_after_tacked.push( as AsRef>::as_ref(component)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:99:50 [INFO] [stdout] | [INFO] [stdout] 99 | if tacked_parent.ends_with(component.as_ref()) { [INFO] [stdout] | ----------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Component<'_>: AsRef<_>` found in the `std` crate: [INFO] [stdout] - impl<> AsRef for Component<'_>; [INFO] [stdout] - impl<> AsRef for Component<'_>; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 99 | if tacked_parent.ends_with( as AsRef>::as_ref(component)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 99 | if tacked_parent.ends_with( as AsRef>::as_ref(component)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tack-it-on` due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0ae425b95653c80d97da50424cc0767590acfe4a958c38444150bab345b31fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae425b95653c80d97da50424cc0767590acfe4a958c38444150bab345b31fca", kill_on_drop: false }` [INFO] [stdout] 0ae425b95653c80d97da50424cc0767590acfe4a958c38444150bab345b31fca