[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 master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fms-ati%2Fexperiment-differ" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ms-ati/experiment-differ on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eca483ffe9aa3f4e55edd4625c35d290169d0f8b85a3cb44cf82bdf601ef52c [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" "0eca483ffe9aa3f4e55edd4625c35d290169d0f8b85a3cb44cf82bdf601ef52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eca483ffe9aa3f4e55edd4625c35d290169d0f8b85a3cb44cf82bdf601ef52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eca483ffe9aa3f4e55edd4625c35d290169d0f8b85a3cb44cf82bdf601ef52c", kill_on_drop: false }` [INFO] [stdout] 0eca483ffe9aa3f4e55edd4625c35d290169d0f8b85a3cb44cf82bdf601ef52c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8e437dc0b0dc96c1171711e3535a9f4d9d3a3401df5703a92bfb2101a561fa [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" "de8e437dc0b0dc96c1171711e3535a9f4d9d3a3401df5703a92bfb2101a561fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.7 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling lmdb-rkv-sys v0.11.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling lmdb-rkv v0.14.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling predicates v1.0.4 [INFO] [stderr] Compiling once-cell-regex v0.1.1 [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 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 2m 43s [INFO] running `Command { std: "docker" "inspect" "de8e437dc0b0dc96c1171711e3535a9f4d9d3a3401df5703a92bfb2101a561fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8e437dc0b0dc96c1171711e3535a9f4d9d3a3401df5703a92bfb2101a561fa", kill_on_drop: false }` [INFO] [stdout] de8e437dc0b0dc96c1171711e3535a9f4d9d3a3401df5703a92bfb2101a561fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b75e57de5fa3d87bb3717c5b1b2953a8f7175e32c7bc96b867604f314292e8df [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" "b75e57de5fa3d87bb3717c5b1b2953a8f7175e32c7bc96b867604f314292e8df", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling shh v1.0.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ignore v0.4.15 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_core v0.9.0 [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 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" "b75e57de5fa3d87bb3717c5b1b2953a8f7175e32c7bc96b867604f314292e8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b75e57de5fa3d87bb3717c5b1b2953a8f7175e32c7bc96b867604f314292e8df", kill_on_drop: false }` [INFO] [stdout] b75e57de5fa3d87bb3717c5b1b2953a8f7175e32c7bc96b867604f314292e8df