[INFO] fetching crate libdmd 0.1.6... [INFO] testing libdmd-0.1.6 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate libdmd 0.1.6 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate libdmd 0.1.6 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libdmd 0.1.6 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate libdmd 0.1.6 [INFO] tweaked toml for crates.io crate libdmd 0.1.6 written to /workspace/builds/worker-69/source/Cargo.toml [INFO] crate crates.io crate libdmd 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09d4221fee6a47683118a3a28e5c386cd4a12f0d1fb201860b7aac280401585a [INFO] running `Command { std: "docker" "start" "-a" "09d4221fee6a47683118a3a28e5c386cd4a12f0d1fb201860b7aac280401585a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09d4221fee6a47683118a3a28e5c386cd4a12f0d1fb201860b7aac280401585a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d4221fee6a47683118a3a28e5c386cd4a12f0d1fb201860b7aac280401585a", kill_on_drop: false }` [INFO] [stdout] 09d4221fee6a47683118a3a28e5c386cd4a12f0d1fb201860b7aac280401585a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15cc7e3ea709230d3ac34f2865d34ceb6ba6e762eaa07daddfdb3c83af01ede4 [INFO] running `Command { std: "docker" "start" "-a" "15cc7e3ea709230d3ac34f2865d34ceb6ba6e762eaa07daddfdb3c83af01ede4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling libdmd v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.01s [INFO] running `Command { std: "docker" "inspect" "15cc7e3ea709230d3ac34f2865d34ceb6ba6e762eaa07daddfdb3c83af01ede4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cc7e3ea709230d3ac34f2865d34ceb6ba6e762eaa07daddfdb3c83af01ede4", kill_on_drop: false }` [INFO] [stdout] 15cc7e3ea709230d3ac34f2865d34ceb6ba6e762eaa07daddfdb3c83af01ede4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f7b1dd6e361d94e666bb8d5f3d47cddab65d439cc500fc7065a01851114165 [INFO] running `Command { std: "docker" "start" "-a" "22f7b1dd6e361d94e666bb8d5f3d47cddab65d439cc500fc7065a01851114165", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libdmd v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.01s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/libdmd-fa4f50787c542506) [INFO] running `Command { std: "docker" "inspect" "22f7b1dd6e361d94e666bb8d5f3d47cddab65d439cc500fc7065a01851114165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f7b1dd6e361d94e666bb8d5f3d47cddab65d439cc500fc7065a01851114165", kill_on_drop: false }` [INFO] [stdout] 22f7b1dd6e361d94e666bb8d5f3d47cddab65d439cc500fc7065a01851114165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee955c7e3916e4cba2468ac60f4419468b6a5736ddf1c4c35ce17e65978b8583 [INFO] running `Command { std: "docker" "start" "-a" "ee955c7e3916e4cba2468ac60f4419468b6a5736ddf1c4c35ce17e65978b8583", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libdmd-fa4f50787c542506) [INFO] [stdout] [INFO] [stderr] Doc-tests libdmd [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/config.rs - config::Config::about (line 67) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::author (line 49) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::add (line 80) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::version (line 58) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::new (line 29) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::write (line 112) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::Config::about (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/config.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").about("This app is just for demonstration."); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use libdmd::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::author (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/config.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").author("Your Name"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use libdmd::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::add (line 80) stdout ---- [INFO] [stdout] error: cannot find macro `dir` in this scope [INFO] [stdout] --> src/config.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").add(dir!("config")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] libdmd::dir [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/config.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").add(dir!("config")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use libdmd::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::version (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/config.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").version("0.1.1"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use libdmd::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::new (line 29) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), anyhow::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::write (line 112) stdout ---- [INFO] [stdout] error: cannot find macro `dir` in this scope [INFO] [stdout] --> src/config.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").add(dir!("config")).write()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] libdmd::dir [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/config.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new("app").add(dir!("config")).write()?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use libdmd::config::Config; [INFO] [stdout] | [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 `FromResidual`) [INFO] [stdout] --> src/config.rs:113:60 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_112_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let config = Config::new("app").add(dir!("config")).write()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } _doctest_main_src_config_rs_112_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::Config::about (line 67) [INFO] [stdout] src/config.rs - config::Config::add (line 80) [INFO] [stdout] src/config.rs - config::Config::author (line 49) [INFO] [stdout] src/config.rs - config::Config::new (line 29) [INFO] [stdout] src/config.rs - config::Config::version (line 58) [INFO] [stdout] src/config.rs - config::Config::write (line 112) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ee955c7e3916e4cba2468ac60f4419468b6a5736ddf1c4c35ce17e65978b8583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee955c7e3916e4cba2468ac60f4419468b6a5736ddf1c4c35ce17e65978b8583", kill_on_drop: false }` [INFO] [stdout] ee955c7e3916e4cba2468ac60f4419468b6a5736ddf1c4c35ce17e65978b8583