[INFO] fetching crate rustbreak 2.0.0... [INFO] testing rustbreak-2.0.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rustbreak 2.0.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate rustbreak 2.0.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustbreak 2.0.0 [INFO] finished tweaking crates.io crate rustbreak 2.0.0 [INFO] tweaked toml for crates.io crate rustbreak 2.0.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate crates.io crate rustbreak 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eeae577c3bb0c25e3bd2f8d99caee36ce967a62b8e945e973d6870835c42ef92 [INFO] running `Command { std: "docker" "start" "-a" "eeae577c3bb0c25e3bd2f8d99caee36ce967a62b8e945e973d6870835c42ef92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeae577c3bb0c25e3bd2f8d99caee36ce967a62b8e945e973d6870835c42ef92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeae577c3bb0c25e3bd2f8d99caee36ce967a62b8e945e973d6870835c42ef92", kill_on_drop: false }` [INFO] [stdout] eeae577c3bb0c25e3bd2f8d99caee36ce967a62b8e945e973d6870835c42ef92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd13dafee722caeac1deae5556fab040d0333541f0345b5984f46d33c7fac64c [INFO] running `Command { std: "docker" "start" "-a" "dd13dafee722caeac1deae5556fab040d0333541f0345b5984f46d33c7fac64c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling rustbreak v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "dd13dafee722caeac1deae5556fab040d0333541f0345b5984f46d33c7fac64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd13dafee722caeac1deae5556fab040d0333541f0345b5984f46d33c7fac64c", kill_on_drop: false }` [INFO] [stdout] dd13dafee722caeac1deae5556fab040d0333541f0345b5984f46d33c7fac64c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 425a1eff7807a3c2d88e9f10b93c5d55a824f37b8ccd2ab54df36f27791b50dc [INFO] running `Command { std: "docker" "start" "-a" "425a1eff7807a3c2d88e9f10b93c5d55a824f37b8ccd2ab54df36f27791b50dc", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling rustbreak v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `rustbreak::deser::Bincode`, `rustbreak::deser::Ron`, `rustbreak::deser::Yaml` [INFO] [stdout] --> tests/integration_tests.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rustbreak::deser::{Bincode, DeSerializer, Ron, Yaml}; [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^ no `Yaml` in `deser` [INFO] [stdout] | | | [INFO] [stdout] | | no `Ron` in `deser` [INFO] [stdout] | no `Bincode` in `deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustbreak::MmapDatabase` [INFO] [stdout] --> tests/integration_tests.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use rustbreak::{Database, FileDatabase, MemoryDatabase, MmapDatabase, PathDatabase}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `MmapDatabase` in the root [INFO] [stdout] | help: a similar name exists in the module: `Database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustbreak::deser::Ron` [INFO] [stdout] --> examples/full.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustbreak::deser::Ron; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `Ron` in `deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rustbreak::deser::Ron`, `rustbreak::deser::Yaml` [INFO] [stdout] --> examples/switching.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use rustbreak::deser::{Ron, Yaml}; [INFO] [stdout] | ^^^ ^^^^ no `Yaml` in `deser` [INFO] [stdout] | | [INFO] [stdout] | no `Ron` in `deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustbreak::deser::Ron` [INFO] [stdout] --> examples/config.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rustbreak::deser::Ron; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `Ron` in `deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Deserialize` in `serde` [INFO] [stdout] --> src/lib.rs:1027:46 [INFO] [stdout] | [INFO] [stdout] 1027 | #[derive(Clone, Debug, Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `Deserialize` in `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbreak` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:1027:28 [INFO] [stdout] | [INFO] [stdout] 1027 | #[derive(Clone, Debug, Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:1011:9 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ron` [INFO] [stdout] --> src/lib.rs:1275:13 [INFO] [stdout] | [INFO] [stdout] 1275 | ron::de::from_reader(&backend.get_data().expect("could not get data from backend")[..]) [INFO] [stdout] | ^^^ use of undeclared crate or module `ron` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `CONFIG` in the current scope [INFO] [stdout] --> examples/config.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref CONFIG: DB = { [INFO] [stdout] 26 | | let db = FileDatabase::load_from_path_or_default("/tmp/config.ron") [INFO] [stdout] 27 | | .expect("Create database from path"); [INFO] [stdout] ... | [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 50 | .read(|conf| conf.clone()) [INFO] [stdout] | ^^^^ method not found in `CONFIG` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ron` in module `crate::deser` [INFO] [stdout] --> src/lib.rs:1016:58 [INFO] [stdout] | [INFO] [stdout] 1016 | type TestDb = Database; [INFO] [stdout] | ^^^ not found in `crate::deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ron` in module `crate::deser` [INFO] [stdout] --> src/lib.rs:1293:54 [INFO] [stdout] | [INFO] [stdout] 1293 | MemoryDatabase::, crate::deser::Ron>::memory(vec![]).expect("To be created"); [INFO] [stdout] | ^^^ not found in `crate::deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ron` in module `crate::deser` [INFO] [stdout] --> src/lib.rs:1341:69 [INFO] [stdout] | [INFO] [stdout] 1341 | let _ = Database::::load_from_path_or_default( [INFO] [stdout] | ^^^ not found in `crate::deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ron` in module `crate::deser` [INFO] [stdout] --> src/lib.rs:1352:69 [INFO] [stdout] | [INFO] [stdout] 1352 | let _ = Database::::load_from_path_or_default( [INFO] [stdout] | ^^^ not found in `crate::deser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `CONFIG` in the current scope [INFO] [stdout] --> examples/config.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref CONFIG: DB = { [INFO] [stdout] 26 | | let db = FileDatabase::load_from_path_or_default("/tmp/config.ron") [INFO] [stdout] 27 | | .expect("Create database from path"); [INFO] [stdout] ... | [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 54 | .read(|conf| (conf.user_path.clone(), conf.allow_overwrite.clone())) [INFO] [stdout] | ^^^^ method not found in `CONFIG` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbreak` due to 2 previous errors [INFO] [stderr] error: could not compile `rustbreak` due to 2 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbreak` due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1295:12 [INFO] [stdout] | [INFO] [stdout] 1295 | db.put_data(vec![1, 2, 3], true) [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] ... [INFO] [stdout] 1299 | &db.get_data(true).expect("Can get data from memory")[..] [INFO] [stdout] | ----------------- this method call resolves to `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `Vec<{integer}>` [INFO] [stdout] note: required by a bound in `Database::::put_data` [INFO] [stdout] --> src/lib.rs:241:11 [INFO] [stdout] | [INFO] [stdout] 241 | Data: Serialize + DeserializeOwned + Clone + Send, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Database::::put_data` [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn put_data(&self, new_data: Data, save: bool) -> error::Result<()> { [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1295:12 [INFO] [stdout] | [INFO] [stdout] 1295 | db.put_data(vec![1, 2, 3], true) [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] ... [INFO] [stdout] 1299 | &db.get_data(true).expect("Can get data from memory")[..] [INFO] [stdout] | ----------------- this method call resolves to `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Deserialize<'_>` found in the `serde` crate: [INFO] [stdout] - impl<'de> Deserialize<'de> for i128; [INFO] [stdout] - impl<'de> Deserialize<'de> for i16; [INFO] [stdout] - impl<'de> Deserialize<'de> for i32; [INFO] [stdout] - impl<'de> Deserialize<'de> for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `for<'de> Deserialize<'de>` for `Vec<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Vec<{integer}>` [INFO] [stdout] note: required by a bound in `Database::::put_data` [INFO] [stdout] --> src/lib.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | Data: Serialize + DeserializeOwned + Clone + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Database::::put_data` [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn put_data(&self, new_data: Data, save: bool) -> error::Result<()> { [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbreak` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "425a1eff7807a3c2d88e9f10b93c5d55a824f37b8ccd2ab54df36f27791b50dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425a1eff7807a3c2d88e9f10b93c5d55a824f37b8ccd2ab54df36f27791b50dc", kill_on_drop: false }` [INFO] [stdout] 425a1eff7807a3c2d88e9f10b93c5d55a824f37b8ccd2ab54df36f27791b50dc