[INFO] fetching crate rustbreak 2.0.0... [INFO] testing rustbreak-2.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustbreak 2.0.0 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustbreak 2.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16e5aea497313a394b32c4ee21dbde1169b6da037974f3bf31b052d013d9172b [INFO] running `Command { std: "docker" "start" "-a" "16e5aea497313a394b32c4ee21dbde1169b6da037974f3bf31b052d013d9172b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16e5aea497313a394b32c4ee21dbde1169b6da037974f3bf31b052d013d9172b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e5aea497313a394b32c4ee21dbde1169b6da037974f3bf31b052d013d9172b", kill_on_drop: false }` [INFO] [stdout] 16e5aea497313a394b32c4ee21dbde1169b6da037974f3bf31b052d013d9172b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4bdf3eed700e4e606c04c50cb2052279c355204decad8d72021e44336694ed1c [INFO] running `Command { std: "docker" "start" "-a" "4bdf3eed700e4e606c04c50cb2052279c355204decad8d72021e44336694ed1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 remove_dir_all v0.5.3 [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` profile [unoptimized + debuginfo] target(s) in 6.72s [INFO] running `Command { std: "docker" "inspect" "4bdf3eed700e4e606c04c50cb2052279c355204decad8d72021e44336694ed1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdf3eed700e4e606c04c50cb2052279c355204decad8d72021e44336694ed1c", kill_on_drop: false }` [INFO] [stdout] 4bdf3eed700e4e606c04c50cb2052279c355204decad8d72021e44336694ed1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0457570e30c0731a718e93f47d047d2c58f4b910424115e7bd2cf3074fd52b9b [INFO] running `Command { std: "docker" "start" "-a" "0457570e30c0731a718e93f47d047d2c58f4b910424115e7bd2cf3074fd52b9b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustbreak v2.0.0 (/opt/rustwide/workdir) [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: 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[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: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `ron` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ron`, use `cargo add ron` to add it to your `Cargo.toml` [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[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[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[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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbreak` (example "full") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustbreak` (test "integration_tests") due to 2 previous errors [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] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `rustbreak` (example "switching") due to 1 previous error [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 "config") due to 3 previous errors [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 7 previous errors [INFO] running `Command { std: "docker" "inspect" "0457570e30c0731a718e93f47d047d2c58f4b910424115e7bd2cf3074fd52b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0457570e30c0731a718e93f47d047d2c58f4b910424115e7bd2cf3074fd52b9b", kill_on_drop: false }` [INFO] [stdout] 0457570e30c0731a718e93f47d047d2c58f4b910424115e7bd2cf3074fd52b9b