[INFO] fetching crate clementine 0.0.1... [INFO] checking clementine-0.0.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate clementine 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate clementine 0.0.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89b876ddab849220ed0c5d1f44e427c755f7ac8c547b47f847831ea91732c352 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89b876ddab849220ed0c5d1f44e427c755f7ac8c547b47f847831ea91732c352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89b876ddab849220ed0c5d1f44e427c755f7ac8c547b47f847831ea91732c352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b876ddab849220ed0c5d1f44e427c755f7ac8c547b47f847831ea91732c352", kill_on_drop: false }` [INFO] [stdout] 89b876ddab849220ed0c5d1f44e427c755f7ac8c547b47f847831ea91732c352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b44322e83eea97b6576e7bbb33b213b69f45cd719c0f59ce549153221c6b123 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b44322e83eea97b6576e7bbb33b213b69f45cd719c0f59ce549153221c6b123", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Persistable` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReadTransaction` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WriteTransaction` [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 issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Persistable` [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 issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Persistable` [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 issue #80165 [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] = note: `#[warn(anonymous_parameters)]` on by default [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: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] 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Persistable` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReadTransaction` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WriteTransaction` [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 issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Persistable` [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 issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Persistable` [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 issue #80165 [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] = note: `#[warn(anonymous_parameters)]` on by default [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: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[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: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clementine` due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [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] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b44322e83eea97b6576e7bbb33b213b69f45cd719c0f59ce549153221c6b123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b44322e83eea97b6576e7bbb33b213b69f45cd719c0f59ce549153221c6b123", kill_on_drop: false }` [INFO] [stdout] 5b44322e83eea97b6576e7bbb33b213b69f45cd719c0f59ce549153221c6b123