[INFO] fetching crate clementine 0.0.1... [INFO] checking clementine-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate clementine 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate clementine 0.0.1 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 crates.io crate clementine 0.0.1 [INFO] finished tweaking crates.io crate clementine 0.0.1 [INFO] tweaked toml for crates.io crate clementine 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding itoa v0.3.4 (available: v1.0.11) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding serde v0.9.15 (available: v1.0.210) [INFO] [stderr] Adding serde_json v0.9.10 (available: v1.0.128) [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76791cfbca4f3eea89f1c1bee377072a338a20576946aba8c5e35414581f2618 [INFO] running `Command { std: "docker" "start" "-a" "76791cfbca4f3eea89f1c1bee377072a338a20576946aba8c5e35414581f2618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76791cfbca4f3eea89f1c1bee377072a338a20576946aba8c5e35414581f2618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76791cfbca4f3eea89f1c1bee377072a338a20576946aba8c5e35414581f2618", kill_on_drop: false }` [INFO] [stdout] 76791cfbca4f3eea89f1c1bee377072a338a20576946aba8c5e35414581f2618 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf287cfef4f9e04663033d14dabb617df990b1f359cc45a9ef9a0a7da7d76ec8 [INFO] running `Command { std: "docker" "start" "-a" "bf287cfef4f9e04663033d14dabb617df990b1f359cc45a9ef9a0a7da7d76ec8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking clementine v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/error.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/error.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(_: io::CharsError) -> Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/persist.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn set(&mut self, String, Data) -> Result<()>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/persist.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn set(&mut self, String, Data) -> Result<()>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Data` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/persist.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn remove(&mut self, String) -> Result<()>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/error.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/error.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(_: io::CharsError) -> Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transaction.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | persist_store: RefCell>, [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] 39 | persist_store: RefCell>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/persist.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn set(&mut self, String, Data) -> Result<()>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/persist.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn set(&mut self, String, Data) -> Result<()>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Data` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/persist.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn remove(&mut self, String) -> Result<()>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | where F: Fn(&ReadTransaction) -> Result<()>, [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] 45 | where F: Fn(&dyn ReadTransaction) -> Result<()>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | where F: Fn(&mut WriteTransaction) -> Result<()>, [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] 56 | where F: Fn(&mut dyn WriteTransaction) -> Result<()>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transaction.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | persist_store: RefCell>, [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] 39 | persist_store: RefCell>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | where F: Fn(&ReadTransaction) -> Result<()>, [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] 45 | where F: Fn(&dyn ReadTransaction) -> Result<()>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transaction.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(store: BTreeMap, persist: Box) -> Transaction { [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] 46 | pub fn new(store: BTreeMap, persist: Box) -> Transaction { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | where F: Fn(&mut WriteTransaction) -> Result<()>, [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] 56 | where F: Fn(&mut dyn WriteTransaction) -> Result<()>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let mut persist_store: Box = match config.persist_type { [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] 31 | let mut persist_store: Box = match config.persist_type { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transaction.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(store: BTreeMap, persist: Box) -> Transaction { [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] 46 | pub fn new(store: BTreeMap, persist: Box) -> Transaction { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let mut persist_store: Box = match config.persist_type { [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] 31 | let mut persist_store: Box = match config.persist_type { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `File` in the current scope [INFO] [stdout] --> src/persist.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | for ch in fs::File::open(&self.path)?.chars() { [INFO] [stdout] | ^^^^^ method not found in `File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/persist.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `File` in the current scope [INFO] [stdout] --> src/persist.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | for ch in fs::File::open(&self.path)?.chars() { [INFO] [stdout] | ^^^^^ method not found in `File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/persist.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clementine` (lib) due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clementine` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf287cfef4f9e04663033d14dabb617df990b1f359cc45a9ef9a0a7da7d76ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf287cfef4f9e04663033d14dabb617df990b1f359cc45a9ef9a0a7da7d76ec8", kill_on_drop: false }` [INFO] [stdout] bf287cfef4f9e04663033d14dabb617df990b1f359cc45a9ef9a0a7da7d76ec8