[INFO] fetching crate clementine 0.0.1... [INFO] testing clementine-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate clementine 0.0.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate clementine 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb47964b75af879b15f07d500d31e1dafc2d4ff4976acd548f5dacfc6667aef [INFO] running `Command { std: "docker" "start" "-a" "feb47964b75af879b15f07d500d31e1dafc2d4ff4976acd548f5dacfc6667aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb47964b75af879b15f07d500d31e1dafc2d4ff4976acd548f5dacfc6667aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb47964b75af879b15f07d500d31e1dafc2d4ff4976acd548f5dacfc6667aef", kill_on_drop: false }` [INFO] [stdout] feb47964b75af879b15f07d500d31e1dafc2d4ff4976acd548f5dacfc6667aef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8297786e8ed4cd6ea0e7d550f3cb1ed8907e18fe156162dd57659f66b7779b78 [INFO] running `Command { std: "docker" "start" "-a" "8297786e8ed4cd6ea0e7d550f3cb1ed8907e18fe156162dd57659f66b7779b78", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling 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] = 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] 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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - persist_store: RefCell>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - where F: Fn(&ReadTransaction) -> Result<()>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - where F: Fn(&mut WriteTransaction) -> Result<()>, [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - pub fn new(store: BTreeMap, persist: Box) -> Transaction { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - let mut persist_store: Box = match config.persist_type { [INFO] [stdout] 31 + let mut persist_store: Box = match config.persist_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/database.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | let store = self.txn_mut.read()?; [INFO] [stdout] | ^ cannot infer type for struct `error::Error` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `error::Error: ~const From>>` found [INFO] [stdout] --> src/error.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | impl From> for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>>` for `std::result::Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/database.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | let mut store = self.txn_mut.write()?; [INFO] [stdout] | ^ cannot infer type for struct `error::Error` [INFO] [stdout] ... [INFO] [stdout] 69 | store.save()?; [INFO] [stdout] | ------------ this method call resolves to `std::result::Result<(), error::Error>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `error::Error: ~const From>>` found [INFO] [stdout] --> src/error.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | impl From> for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>>` for `std::result::Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/database.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | self.txn_mut.write()?.save()?; [INFO] [stdout] | --------------------^------- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for struct `error::Error` [INFO] [stdout] | this method call resolves to `std::result::Result<(), error::Error>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `error::Error: ~const From>>` found [INFO] [stdout] --> src/error.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | impl From> for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>>` for `std::result::Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/database.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | let _ = self.txn_mut.write()?; [INFO] [stdout] | ^ cannot infer type for struct `error::Error` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `error::Error: ~const From>>` found [INFO] [stdout] --> src/error.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | impl From> for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>>` for `std::result::Result<(), error::Error>` [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 7 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clementine` due to 8 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8297786e8ed4cd6ea0e7d550f3cb1ed8907e18fe156162dd57659f66b7779b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8297786e8ed4cd6ea0e7d550f3cb1ed8907e18fe156162dd57659f66b7779b78", kill_on_drop: false }` [INFO] [stdout] 8297786e8ed4cd6ea0e7d550f3cb1ed8907e18fe156162dd57659f66b7779b78