[INFO] updating cached repository https://github.com/ms-ati/experiment-differ [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d56b35fdc66e7b1b8215bc1d27dcb25571ec8c9 [INFO] testing ms-ati/experiment-differ against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fms-ati%2Fexperiment-differ" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ms-ati/experiment-differ on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/ms-ati/experiment-differ [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ms-ati/experiment-differ [INFO] tweaked toml for git repo https://github.com/ms-ati/experiment-differ written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ms-ati/experiment-differ already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da3fc6b6e2766113119e3de38ccaf154a3476b30ee57a5f0d5aa2dd6457da418 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "da3fc6b6e2766113119e3de38ccaf154a3476b30ee57a5f0d5aa2dd6457da418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da3fc6b6e2766113119e3de38ccaf154a3476b30ee57a5f0d5aa2dd6457da418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3fc6b6e2766113119e3de38ccaf154a3476b30ee57a5f0d5aa2dd6457da418", kill_on_drop: false }` [INFO] [stdout] da3fc6b6e2766113119e3de38ccaf154a3476b30ee57a5f0d5aa2dd6457da418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3de2a461f49406022ce57e77fb107e365ef33c2893374a9708dfb577bdaf4bec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3de2a461f49406022ce57e77fb107e365ef33c2893374a9708dfb577bdaf4bec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling ppv-lite86 v0.2.7 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling once-cell-regex v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling predicates v1.0.4 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling lmdb-rkv-sys v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling lmdb-rkv v0.14.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling mockall_derive v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling mockall v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_yaml v0.8.12 [INFO] [stderr] Compiling rkv v0.10.4 [INFO] [stderr] Compiling validator v0.10.0 [INFO] [stderr] Compiling jmespatch v0.3.0 [INFO] [stderr] Compiling validator_derive v0.10.0 [INFO] [stderr] Compiling experiment-differ v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "3de2a461f49406022ce57e77fb107e365ef33c2893374a9708dfb577bdaf4bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de2a461f49406022ce57e77fb107e365ef33c2893374a9708dfb577bdaf4bec", kill_on_drop: false }` [INFO] [stdout] 3de2a461f49406022ce57e77fb107e365ef33c2893374a9708dfb577bdaf4bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 66d64668c81c2897c19019b7fdfe67321c6bee806fe71e50f40ea22e00c38bbb [INFO] running `Command { std: "docker" "start" "-a" "66d64668c81c2897c19019b7fdfe67321c6bee806fe71e50f40ea22e00c38bbb", kill_on_drop: false }` [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling shh v1.0.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ignore v0.4.15 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling gherkin_rust v0.6.0 [INFO] [stderr] Compiling cucumber_rust v0.6.8 [INFO] [stderr] Compiling experiment-differ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> tests/cucumber/unit_steps.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | mock.expect_path_exists_mockable().with(eq(path)).returning(|| false); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 39 | mock.expect_path_exists_mockable().with(eq(path)).returning(|_| false); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | mock.expect_path_exists_mockable().returning(|| true); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 42 | mock.expect_path_exists_mockable().returning(|_| true); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | mock.expect_path_is_file_mockable().returning(|| false); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 43 | mock.expect_path_is_file_mockable().returning(|_| false); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | mock.expect_path_exists_mockable().returning(|| true); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 46 | mock.expect_path_exists_mockable().returning(|_| true); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | mock.expect_path_is_file_mockable().returning(|| true); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 47 | mock.expect_path_is_file_mockable().returning(|_| true); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | mock.expect_file_open_mockable().returning(|| [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 48 | mock.expect_file_open_mockable().returning(|_| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | mock.expect_path_exists_mockable().returning(|| true); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 53 | mock.expect_path_exists_mockable().returning(|_| true); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | mock.expect_path_is_file_mockable().returning(|| true); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 54 | mock.expect_path_is_file_mockable().returning(|_| true); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stdout] --> tests/cucumber/unit_steps.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | mock.expect_file_open_mockable().returning(|| tempfile()); [INFO] [stdout] | ^^^^^^^^^ -- takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 1 argument [INFO] [stdout] | [INFO] [stdout] help: consider changing the closure to take and ignore the expected argument [INFO] [stdout] | [INFO] [stdout] 55 | mock.expect_file_open_mockable().returning(|_| tempfile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::result::Result>, std::sync::PoisonError>>>` cannot be dereferenced [INFO] [stdout] --> tests/cucumber/unit_steps.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | *guard = mock; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: parentheses are required to parse this as an expression [INFO] [stdout] | [INFO] [stdout] 37 | (match readability.as_str() { [INFO] [stdout] 38 | "NotFound" => { [INFO] [stdout] 39 | mock.expect_path_exists_mockable().with(eq(path)).returning(|| false); [INFO] [stdout] 40 | }, [INFO] [stdout] 41 | "NotAFile" => { [INFO] [stdout] 42 | mock.expect_path_exists_mockable().returning(|| true); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0593, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0593`. [INFO] [stdout] [INFO] [stderr] error: could not compile `experiment-differ`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "66d64668c81c2897c19019b7fdfe67321c6bee806fe71e50f40ea22e00c38bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d64668c81c2897c19019b7fdfe67321c6bee806fe71e50f40ea22e00c38bbb", kill_on_drop: false }` [INFO] [stdout] 66d64668c81c2897c19019b7fdfe67321c6bee806fe71e50f40ea22e00c38bbb