[INFO] cloning 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" "clone" "--bare" "https://github.com/ms-ati/experiment-differ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fms-ati%2Fexperiment-differ", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fms-ati%2Fexperiment-differ'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d56b35fdc66e7b1b8215bc1d27dcb25571ec8c9 [INFO] testing ms-ati/experiment-differ against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fms-ati%2Fexperiment-differ" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ms-ati/experiment-differ on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-44/source/.cargo/config [INFO] removed /workspace/builds/worker-44/source/rust-toolchain [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-44/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.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall v0.7.1 [INFO] [stderr] Downloaded jmespatch v0.3.0 [INFO] [stderr] Downloaded lmdb-rkv v0.14.0 [INFO] [stderr] Downloaded mockall_derive v0.7.1 [INFO] [stderr] Downloaded shh v1.0.1 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded derive_builder v0.7.2 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded lmdb-rkv-sys v0.11.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.7 [INFO] [stderr] Downloaded derive_builder_core v0.5.0 [INFO] [stderr] Downloaded globwalk v0.7.3 [INFO] [stderr] Downloaded gherkin_rust v0.6.0 [INFO] [stderr] Downloaded cucumber_rust v0.6.8 [INFO] [stderr] Downloaded rkv v0.10.4 [INFO] [stderr] Downloaded pathdiff v0.1.0 [INFO] [stderr] Downloaded once-cell-regex v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b5684863f64a5311e0a7a4016cb5509a12e856dc154b922bf2a6724724110c [INFO] running `Command { std: "docker" "start" "-a" "69b5684863f64a5311e0a7a4016cb5509a12e856dc154b922bf2a6724724110c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b5684863f64a5311e0a7a4016cb5509a12e856dc154b922bf2a6724724110c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b5684863f64a5311e0a7a4016cb5509a12e856dc154b922bf2a6724724110c", kill_on_drop: false }` [INFO] [stdout] 69b5684863f64a5311e0a7a4016cb5509a12e856dc154b922bf2a6724724110c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71bd9885cc2c00503b49ca841c61d7ce46925c5fbb243d1a45d09894a8f3d472 [INFO] running `Command { std: "docker" "start" "-a" "71bd9885cc2c00503b49ca841c61d7ce46925c5fbb243d1a45d09894a8f3d472", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling byteorder v1.3.4 [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 deunicode v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.14 [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 addr2line v0.12.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling lmdb-rkv-sys v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling once-cell-regex v0.1.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling predicates v1.0.4 [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 mockall_derive v0.7.1 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling failure v0.1.8 [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] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/cli/args.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | file: ReadableFilename, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/args.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "71bd9885cc2c00503b49ca841c61d7ce46925c5fbb243d1a45d09894a8f3d472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71bd9885cc2c00503b49ca841c61d7ce46925c5fbb243d1a45d09894a8f3d472", kill_on_drop: false }` [INFO] [stdout] 71bd9885cc2c00503b49ca841c61d7ce46925c5fbb243d1a45d09894a8f3d472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0f4ac333408944c22003a0ebb5fbbf01739b9d0777265f03316d3374c98fcc [INFO] running `Command { std: "docker" "start" "-a" "8b0f4ac333408944c22003a0ebb5fbbf01739b9d0777265f03316d3374c98fcc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling shh v1.0.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/cli/args.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | file: ReadableFilename, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/args.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling ignore v0.4.15 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling pest_derive v2.1.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 `Result>, 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` due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/cli/args.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | file: ReadableFilename, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/args.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b0f4ac333408944c22003a0ebb5fbbf01739b9d0777265f03316d3374c98fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0f4ac333408944c22003a0ebb5fbbf01739b9d0777265f03316d3374c98fcc", kill_on_drop: false }` [INFO] [stdout] 8b0f4ac333408944c22003a0ebb5fbbf01739b9d0777265f03316d3374c98fcc