[INFO] fetching crate tack-it-on 1.0.1... [INFO] checking tack-it-on-1.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tack-it-on 1.0.1 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tack-it-on 1.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.47) [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c591f7d6be8c5cfdd52065abc768f0abff5728a7c03fa7f10913462b26ac38 [INFO] running `Command { std: "docker" "start" "-a" "89c591f7d6be8c5cfdd52065abc768f0abff5728a7c03fa7f10913462b26ac38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c591f7d6be8c5cfdd52065abc768f0abff5728a7c03fa7f10913462b26ac38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c591f7d6be8c5cfdd52065abc768f0abff5728a7c03fa7f10913462b26ac38", kill_on_drop: false }` [INFO] [stdout] 89c591f7d6be8c5cfdd52065abc768f0abff5728a7c03fa7f10913462b26ac38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e283ae267efb4f5153280b0ceebf695527b3e00270eb42f8e3580ccd9b4396b [INFO] running `Command { std: "docker" "start" "-a" "1e283ae267efb4f5153280b0ceebf695527b3e00270eb42f8e3580ccd9b4396b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking text_io v0.1.13 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tack-it-on v1.0.1 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_note(id: &str, 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/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run() -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_note(id: &str, 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/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run() -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn run() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push(component.as_ref()); [INFO] [stdout] | ^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `push` [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: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push::<&T>(component.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push(component.as_ref()); [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `P` declared on the method `push` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `std`, `tempdir`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for TempDir; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `PathBuf::push` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/path.rs:1300:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push::<&T>(component.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | if tacked_parent.ends_with(component.as_ref()) { [INFO] [stdout] | ^^^^^^^^^ cannot infer type of the type parameter `P` declared on the method `ends_with` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `std`, `tempdir`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for TempDir; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Path::ends_with` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/path.rs:2658:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 99 | if tacked_parent.ends_with::<&T>(component.as_ref()) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push(component.as_ref()); [INFO] [stdout] | ^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `push` [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: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push::<&T>(component.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push(component.as_ref()); [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `P` declared on the method `push` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `std`, `tempdir`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for TempDir; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `PathBuf::push` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/path.rs:1300:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 97 | path_after_tacked.push::<&T>(component.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/note.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | if tacked_parent.ends_with(component.as_ref()) { [INFO] [stdout] | ^^^^^^^^^ cannot infer type of the type parameter `P` declared on the method `ends_with` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `std`, `tempdir`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for TempDir; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Path::ends_with` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/path.rs:2658:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 99 | if tacked_parent.ends_with::<&T>(component.as_ref()) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tack-it-on` (lib) due to 3 previous errors; 13 warnings emitted [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/show.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_show(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/show.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_show(input: &clap::ArgMatches) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notes_path` [INFO] [stdout] --> src/rm.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let (notes_path, mut notes) = get_notes(&tacked_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notes_path` [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` (lib test) due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e283ae267efb4f5153280b0ceebf695527b3e00270eb42f8e3580ccd9b4396b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e283ae267efb4f5153280b0ceebf695527b3e00270eb42f8e3580ccd9b4396b", kill_on_drop: false }` [INFO] [stdout] 1e283ae267efb4f5153280b0ceebf695527b3e00270eb42f8e3580ccd9b4396b