[INFO] crate confy 0.3.1 is already in cache
[INFO] testing confy-0.3.1 against 1.40.0 for beta-1.41-1
[INFO] extracting crate confy 0.3.1 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate confy 0.3.1 on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate confy 0.3.1
[INFO] removed 1 missing examples
[INFO] finished tweaking crates.io crate confy 0.3.1
[INFO] tweaked toml for crates.io crate confy 0.3.1 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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] * /workspace/builds/worker-3/source/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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 91352e199a45168e9a76468e29925c5cb16017b1c8188666567361d4ccca8e18
[INFO] running `"docker" "start" "-a" "91352e199a45168e9a76468e29925c5cb16017b1c8188666567361d4ccca8e18"`
[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/rustwide/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/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.12s
[INFO] running `"docker" "inspect" "91352e199a45168e9a76468e29925c5cb16017b1c8188666567361d4ccca8e18"`
[INFO] running `"docker" "rm" "-f" "91352e199a45168e9a76468e29925c5cb16017b1c8188666567361d4ccca8e18"`
[INFO] [stdout] 91352e199a45168e9a76468e29925c5cb16017b1c8188666567361d4ccca8e18
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen" "--no-run"`
[INFO] [stdout] 077a92d1bbd7e56a9934dc84ca618f359fd3a51c07ef2faa6bb4f6ef6bcdc592
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "077a92d1bbd7e56a9934dc84ca618f359fd3a51c07ef2faa6bb4f6ef6bcdc592"`
[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/rustwide/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/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `"docker" "inspect" "077a92d1bbd7e56a9934dc84ca618f359fd3a51c07ef2faa6bb4f6ef6bcdc592"`
[INFO] running `"docker" "rm" "-f" "077a92d1bbd7e56a9934dc84ca618f359fd3a51c07ef2faa6bb4f6ef6bcdc592"`
[INFO] [stdout] 077a92d1bbd7e56a9934dc84ca618f359fd3a51c07ef2faa6bb4f6ef6bcdc592
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1cb1681c6acdbae1a3e36a5f6bb3bce230974f05feb2a1df44b609230169e39e
[INFO] running `"docker" "start" "-a" "1cb1681c6acdbae1a3e36a5f6bb3bce230974f05feb2a1df44b609230169e39e"`
[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/rustwide/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 test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/confy-bfa3343a5ca14f8d
[INFO] [stderr]    Doc-tests confy
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs -  (line 39) ... FAILED
[INFO] [stdout] test src/lib.rs - load (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - store (line 126) ... FAILED
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 4 | struct MyConfig {}
[INFO] [stdout]   | ------------------ similarly named struct `MyConfig` defined here
[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]   ::: /opt/rustwide/workdir/src/lib.rs:95:47
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn load<T: Serialize + DeserializeOwned + Default>(name: &str) -> Result<T, IoError> {
[INFO] [stdout]    |                                               ------- required by this bound in `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]   ::: /opt/rustwide/workdir/src/lib.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn load<T: Serialize + DeserializeOwned + Default>(name: &str) -> Result<T, IoError> {
[INFO] [stdout]    |                --------- required by this bound in `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]   ::: /opt/rustwide/workdir/src/lib.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn load<T: Serialize + DeserializeOwned + Default>(name: &str) -> Result<T, IoError> {
[INFO] [stdout]    |                            ---------------- required by this bound in `confy::load`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `serde::de::DeserializeOwned` for `main::MyConfig`
[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] ---- 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] 
[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] running `"docker" "inspect" "1cb1681c6acdbae1a3e36a5f6bb3bce230974f05feb2a1df44b609230169e39e"`
[INFO] running `"docker" "rm" "-f" "1cb1681c6acdbae1a3e36a5f6bb3bce230974f05feb2a1df44b609230169e39e"`
[INFO] [stdout] 1cb1681c6acdbae1a3e36a5f6bb3bce230974f05feb2a1df44b609230169e39e
