[INFO] crate confy 0.3.1 is already in cache [INFO] extracting crate confy 0.3.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/confy/0.3.1 [INFO] extracting crate confy 0.3.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/confy/0.3.1 [INFO] validating manifest of confy-0.3.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of confy-0.3.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing confy-0.3.1 [INFO] removed 1 missing examples [INFO] finished frobbing confy-0.3.1 [INFO] frobbed toml for confy-0.3.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/confy/0.3.1/Cargo.toml [INFO] started frobbing confy-0.3.1 [INFO] removed 1 missing examples [INFO] finished frobbing confy-0.3.1 [INFO] frobbed toml for confy-0.3.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/confy/0.3.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing confy-0.3.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/confy/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 78789bc7b8c9909cb8af0d9a071b5347105d4563dc4fec16576386d21f4b1ba5 [INFO] running `"docker" "start" "-a" "78789bc7b8c9909cb8af0d9a071b5347105d4563dc4fec16576386d21f4b1ba5"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/simple.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling directories v0.10.0 [INFO] [stderr] Compiling confy v0.3.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `"docker" "inspect" "78789bc7b8c9909cb8af0d9a071b5347105d4563dc4fec16576386d21f4b1ba5"` [INFO] running `"docker" "rm" "-f" "78789bc7b8c9909cb8af0d9a071b5347105d4563dc4fec16576386d21f4b1ba5"` [INFO] [stdout] 78789bc7b8c9909cb8af0d9a071b5347105d4563dc4fec16576386d21f4b1ba5 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/confy/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 4aab1e8886a66acd1d40f946d33f38be7c7337b9c4c93153f3269fde95492032 [INFO] running `"docker" "start" "-a" "4aab1e8886a66acd1d40f946d33f38be7c7337b9c4c93153f3269fde95492032"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/simple.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling confy v0.3.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `"docker" "inspect" "4aab1e8886a66acd1d40f946d33f38be7c7337b9c4c93153f3269fde95492032"` [INFO] running `"docker" "rm" "-f" "4aab1e8886a66acd1d40f946d33f38be7c7337b9c4c93153f3269fde95492032"` [INFO] [stdout] 4aab1e8886a66acd1d40f946d33f38be7c7337b9c4c93153f3269fde95492032 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/confy/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] d60ecd3a7c0a11b4c1150d53bb2997a13f4f054517c1a27ce1da2207e07afa94 [INFO] running `"docker" "start" "-a" "d60ecd3a7c0a11b4c1150d53bb2997a13f4f054517c1a27ce1da2207e07afa94"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/simple.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/confy-ffe5014b16de9bd5 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests confy [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - store (line 126) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - load (line 88) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - store (line 126) stdout ---- [INFO] [stdout] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 6 | confy::store(my_cfg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 6 | confy::store(my_cfg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), ::std::io::Error> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found () [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `std::result::Result<(), std::io::Error>` [INFO] [stdout] found type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - load (line 88) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyConf` in this scope [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 5 | impl ::std::default::Default for MyConf { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `MyConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 8 | let cfg: MyConfig = confy::load("my-app")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::MyConfig: std::default::Default` is not satisfied [INFO] [stdout] --> src/lib.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 8 | let cfg: MyConfig = confy::load("my-app")?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `main::MyConfig` [INFO] [stdout] | [INFO] [stdout] = note: required by `confy::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::MyConfig: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 8 | let cfg: MyConfig = confy::load("my-app")?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `main::MyConfig` [INFO] [stdout] | [INFO] [stdout] = note: required by `confy::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> main::MyConfig: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 8 | let cfg: MyConfig = confy::load("my-app")?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `main::MyConfig` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::de::DeserializeOwned` for `main::MyConfig` [INFO] [stdout] = note: required by `confy::load` [INFO] [stdout] [INFO] [stdout] error[E0071]: expected struct, variant or union type, found type error [INFO] [stdout] --> src/lib.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 6 | fn default() -> Self { Self {} } [INFO] [stdout] | ^^^^ not a struct [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0071, E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0071`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - load (line 88) [INFO] [stdout] src/lib.rs - store (line 126) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "d60ecd3a7c0a11b4c1150d53bb2997a13f4f054517c1a27ce1da2207e07afa94"` [INFO] running `"docker" "rm" "-f" "d60ecd3a7c0a11b4c1150d53bb2997a13f4f054517c1a27ce1da2207e07afa94"` [INFO] [stdout] d60ecd3a7c0a11b4c1150d53bb2997a13f4f054517c1a27ce1da2207e07afa94