[INFO] fetching crate to-directory 0.1.0... [INFO] testing to-directory-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate to-directory 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate to-directory 0.1.0 [INFO] finished tweaking crates.io crate to-directory 0.1.0 [INFO] tweaked toml for crates.io crate to-directory 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate to-directory 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.5.9 (available: v2.0.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `to`, [INFO] [stderr] please set bin.path in Cargo.toml [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c432cf566836f4e7fdf8e7594e651cedf6a582a0a1743959dbfdff38f1c87519 [INFO] running `Command { std: "docker" "start" "-a" "c432cf566836f4e7fdf8e7594e651cedf6a582a0a1743959dbfdff38f1c87519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c432cf566836f4e7fdf8e7594e651cedf6a582a0a1743959dbfdff38f1c87519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c432cf566836f4e7fdf8e7594e651cedf6a582a0a1743959dbfdff38f1c87519", kill_on_drop: false }` [INFO] [stdout] c432cf566836f4e7fdf8e7594e651cedf6a582a0a1743959dbfdff38f1c87519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a46c0f6ad28933aa08ea620128061515bcd690f920786e37b1e7be4f0b1dc47 [INFO] running `Command { std: "docker" "start" "-a" "1a46c0f6ad28933aa08ea620128061515bcd690f920786e37b1e7be4f0b1dc47", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `to`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bincode v0.5.9 [INFO] [stderr] Compiling to-directory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/types.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/types.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | try!(options.open(&self.location)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bookmark: Decodable` is not satisfied [INFO] [stdout] --> src/database.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | let bookmarks: Bookmarks = match decode_from(&mut reader, Infinite) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Bookmark` [INFO] [stdout] --> src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Bookmark { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 74 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Decodable` [INFO] [stdout] note: required by a bound in `decode_from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-0.5.9/src/rustc_serialize/mod.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn decode_from(r: &mut R, size_limit: SizeLimit) -> DecodingResult { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `decode_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bookmark: Encodable` is not satisfied [INFO] [stdout] --> src/database.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | match encode_into(&self.bookmarks, &mut writer, Infinite) { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `Bookmark` [INFO] [stdout] --> src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Bookmark { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 78 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Encodable` [INFO] [stdout] note: required by a bound in `encode_into` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-0.5.9/src/rustc_serialize/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_into(t: &T, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encode_into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory` [INFO] [stdout] --> src/dir.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn mkdirp(directory: &Path) -> ToResult<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory` [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `to-directory` (bin "to") due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a46c0f6ad28933aa08ea620128061515bcd690f920786e37b1e7be4f0b1dc47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a46c0f6ad28933aa08ea620128061515bcd690f920786e37b1e7be4f0b1dc47", kill_on_drop: false }` [INFO] [stdout] 1a46c0f6ad28933aa08ea620128061515bcd690f920786e37b1e7be4f0b1dc47