[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 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 3455dcf2aec099591a31e389c5b8e3afb35742a584f8744464e1f31abf9b3c7d [INFO] running `"docker" "start" "-a" "3455dcf2aec099591a31e389c5b8e3afb35742a584f8744464e1f31abf9b3c7d"` [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 1.13s [INFO] running `"docker" "inspect" "3455dcf2aec099591a31e389c5b8e3afb35742a584f8744464e1f31abf9b3c7d"` [INFO] running `"docker" "rm" "-f" "3455dcf2aec099591a31e389c5b8e3afb35742a584f8744464e1f31abf9b3c7d"` [INFO] [stdout] 3455dcf2aec099591a31e389c5b8e3afb35742a584f8744464e1f31abf9b3c7d [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] a6fc7db29e1d1a6a07231c19794037cdbba6bcc89d6d0e702a78ab50bcd85772 [INFO] running `"docker" "start" "-a" "a6fc7db29e1d1a6a07231c19794037cdbba6bcc89d6d0e702a78ab50bcd85772"` [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.36s [INFO] running `"docker" "inspect" "a6fc7db29e1d1a6a07231c19794037cdbba6bcc89d6d0e702a78ab50bcd85772"` [INFO] running `"docker" "rm" "-f" "a6fc7db29e1d1a6a07231c19794037cdbba6bcc89d6d0e702a78ab50bcd85772"` [INFO] [stdout] a6fc7db29e1d1a6a07231c19794037cdbba6bcc89d6d0e702a78ab50bcd85772 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 4c6e6258412863576d0e49ec59f4171d036e27afa4b36aa012105f5206d97bfd [INFO] running `"docker" "start" "-a" "4c6e6258412863576d0e49ec59f4171d036e27afa4b36aa012105f5206d97bfd"` [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-c7509e2ed34bd24f [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 `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: 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[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] | this function's body doesn't return [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" "4c6e6258412863576d0e49ec59f4171d036e27afa4b36aa012105f5206d97bfd"` [INFO] running `"docker" "rm" "-f" "4c6e6258412863576d0e49ec59f4171d036e27afa4b36aa012105f5206d97bfd"` [INFO] [stdout] 4c6e6258412863576d0e49ec59f4171d036e27afa4b36aa012105f5206d97bfd