[INFO] fetching crate rustbreak 2.0.0... [INFO] checking rustbreak-2.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rustbreak 2.0.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rustbreak 2.0.0 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 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-0-tc1/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: 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] Downloading crates ... [INFO] [stderr] Downloaded ron v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 059e050a6122c3587438f5b11d41587be2f656dd95c0b77bc0fa2867bb95a79d [INFO] running `Command { std: "docker" "start" "-a" "059e050a6122c3587438f5b11d41587be2f656dd95c0b77bc0fa2867bb95a79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "059e050a6122c3587438f5b11d41587be2f656dd95c0b77bc0fa2867bb95a79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059e050a6122c3587438f5b11d41587be2f656dd95c0b77bc0fa2867bb95a79d", kill_on_drop: false }` [INFO] [stdout] 059e050a6122c3587438f5b11d41587be2f656dd95c0b77bc0fa2867bb95a79d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 40ce3ba6c8837f84fb8923804bc38ab963a642a144f71fe947aa58131de4bf67 [INFO] running `Command { std: "docker" "start" "-a" "40ce3ba6c8837f84fb8923804bc38ab963a642a144f71fe947aa58131de4bf67", 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 unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking rustbreak v2.0.0 (/opt/rustwide/workdir) [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::yaml::Yaml; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `yaml_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "yaml_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] 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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::bincode::Bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `bin_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "bin_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::yaml::Yaml; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `yaml_enc` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/deser.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "yaml_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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: `FileDatabase` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:926:10 [INFO] [stdout] | [INFO] [stdout] 926 | pub type MmapDatabase = Database; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `mmap` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:925:7 [INFO] [stdout] | [INFO] [stdout] 925 | #[cfg(feature = "mmap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: `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] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1011 + use serde_derive::Serialize; [INFO] [stdout] | [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 struct [INFO] [stdout] ... [INFO] [stdout] 49 | let _conf: Config = CONFIG [INFO] [stdout] | _________________________- [INFO] [stdout] 50 | | .read(|conf| conf.clone()) [INFO] [stdout] | | -^^^^ method not found in `CONFIG` [INFO] [stdout] | |_________| [INFO] [stdout] | [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[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: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 struct [INFO] [stdout] ... [INFO] [stdout] 53 | let (user_path, allow_overwrite) = CONFIG [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] | [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] note: found an item that was configured out [INFO] [stdout] --> src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/deser.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::ron::Ron; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `ron_enc` feature [INFO] [stdout] --> src/deser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "ron_enc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: could not compile `rustbreak` (example "full") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustbreak` (example "switching") due to 2 previous errors [INFO] [stderr] error: could not compile `rustbreak` (example "config") due to 4 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [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` (test "integration_tests") due to 3 previous errors [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbreak` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "40ce3ba6c8837f84fb8923804bc38ab963a642a144f71fe947aa58131de4bf67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40ce3ba6c8837f84fb8923804bc38ab963a642a144f71fe947aa58131de4bf67", kill_on_drop: false }` [INFO] [stdout] 40ce3ba6c8837f84fb8923804bc38ab963a642a144f71fe947aa58131de4bf67