[INFO] fetching crate tack-it-on 1.0.1...
[INFO] testing tack-it-on-1.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate tack-it-on 1.0.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tack-it-on 1.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 59 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.51)
[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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] acdb6171bc6e511ca1951ee614287742762ff869153d50df373ae77b430dc7a9
[INFO] running `Command { std: "docker" "start" "-a" "acdb6171bc6e511ca1951ee614287742762ff869153d50df373ae77b430dc7a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "acdb6171bc6e511ca1951ee614287742762ff869153d50df373ae77b430dc7a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acdb6171bc6e511ca1951ee614287742762ff869153d50df373ae77b430dc7a9", kill_on_drop: false }`
[INFO] [stdout] acdb6171bc6e511ca1951ee614287742762ff869153d50df373ae77b430dc7a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c7d49c7db88bf4f24c55d0d14ffdc6f7c7c4e2443aa65bee36824999ed2ed1b
[INFO] running `Command { std: "docker" "start" "-a" "2c7d49c7db88bf4f24c55d0d14ffdc6f7c7c4e2443aa65bee36824999ed2ed1b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling text_io v0.1.13
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[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/init.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn run_init() -> Result<(), Box<Error>> {
[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] 17 | pub fn run_init() -> Result<(), Box<dyn Error>> {
[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<Option<PathBuf>, Box<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn find_tacked_notes(dir: &PathBuf) -> Result<Option<PathBuf>, Box<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn run_note(input: &clap::ArgMatches) -> Result<(), Box<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |                -> Result<(), Box<dyn Error>> {
[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<Note>), Box<Error>> {
[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] 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<Note>), Box<dyn Error>> {
[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<Option<PathBuf>, Box<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 84 |                  -> Result<Option<PathBuf>, Box<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 116 |                   -> Result<(), Box<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn run_show(input: &clap::ArgMatches) -> Result<(), Box<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn show_notes(tacked_dir: &PathBuf) -> Result<(), Box<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn run_rm(input: &clap::ArgMatches) -> Result<(), Box<dyn Error>> {
[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<Error>> {
[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] 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<dyn Error>> {
[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<Error>> {
[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] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn run() -> Result<(), Box<dyn Error>> {
[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<OsStr> for Component<'_>;
[INFO] [stdout]            - impl AsRef<Path> 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<Path>` found in the following crates: `std`, `tempdir`:
[INFO] [stdout]            - impl AsRef<Path> for OsStr;
[INFO] [stdout]            - impl AsRef<Path> for OsString;
[INFO] [stdout]            - impl AsRef<Path> for Path;
[INFO] [stdout]            - impl AsRef<Path> for PathBuf;
[INFO] [stdout]            - impl AsRef<Path> for TempDir;
[INFO] [stdout]            - impl AsRef<Path> for std::string::String;
[INFO] [stdout]            - impl AsRef<Path> for str;
[INFO] [stdout]    = note: required for `&_` to implement `AsRef<Path>`
[INFO] [stdout] note: required by a bound in `PathBuf::push`
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:1300:4
[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<Path>` found in the following crates: `std`, `tempdir`:
[INFO] [stdout]            - impl AsRef<Path> for OsStr;
[INFO] [stdout]            - impl AsRef<Path> for OsString;
[INFO] [stdout]            - impl AsRef<Path> for Path;
[INFO] [stdout]            - impl AsRef<Path> for PathBuf;
[INFO] [stdout]            - impl AsRef<Path> for TempDir;
[INFO] [stdout]            - impl AsRef<Path> for std::string::String;
[INFO] [stdout]            - impl AsRef<Path> for str;
[INFO] [stdout]    = note: required for `&_` to implement `AsRef<Path>`
[INFO] [stdout] note: required by a bound in `Path::ends_with`
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2751:4
[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] 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<Error>> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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) due to 3 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2c7d49c7db88bf4f24c55d0d14ffdc6f7c7c4e2443aa65bee36824999ed2ed1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c7d49c7db88bf4f24c55d0d14ffdc6f7c7c4e2443aa65bee36824999ed2ed1b", kill_on_drop: false }`
[INFO] [stdout] 2c7d49c7db88bf4f24c55d0d14ffdc6f7c7c4e2443aa65bee36824999ed2ed1b
