[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fms-ati%2Fexperiment-differ" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ms-ati/experiment-differ on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ms-ati/experiment-differ already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.5 [INFO] [stderr] Downloaded gherkin_rust v0.6.0 [INFO] [stderr] Downloaded float-cmp v0.6.0 [INFO] [stderr] Downloaded once-cell-regex v0.1.1 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded globset v0.4.5 [INFO] [stderr] Downloaded globwalk v0.7.3 [INFO] [stderr] Downloaded mockall_derive v0.7.1 [INFO] [stderr] Downloaded predicates v1.0.4 [INFO] [stderr] Downloaded cucumber_rust v0.6.8 [INFO] [stderr] Downloaded ignore v0.4.15 [INFO] [stderr] Downloaded cc v1.0.53 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded rkv v0.10.4 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded addr2line v0.12.0 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded jmespatch v0.3.0 [INFO] [stderr] Downloaded lmdb-rkv-sys v0.11.0 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded mockall v0.7.1 [INFO] [stderr] Downloaded structopt v0.3.14 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded proc-macro-error v1.0.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded fragile v1.0.0 [INFO] [stderr] Downloaded lmdb-rkv v0.14.0 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] [stderr] Downloaded serde_yaml v0.8.12 [INFO] [stderr] Downloaded structopt-derive v0.4.7 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.2 [INFO] [stderr] Downloaded validator_derive v0.10.0 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded pathdiff v0.1.0 [INFO] [stderr] Downloaded shh v1.0.1 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded validator v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15a9346049819f87872432751991ca1a5df530d79243f189f1841d3ae3ff81cd [INFO] running `Command { std: "docker" "start" "-a" "15a9346049819f87872432751991ca1a5df530d79243f189f1841d3ae3ff81cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15a9346049819f87872432751991ca1a5df530d79243f189f1841d3ae3ff81cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a9346049819f87872432751991ca1a5df530d79243f189f1841d3ae3ff81cd", kill_on_drop: false }` [INFO] [stdout] 15a9346049819f87872432751991ca1a5df530d79243f189f1841d3ae3ff81cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbb14974c47dc513b4f3096b72fde1355543f601b23c5fd5f052868d397fcd0c [INFO] running `Command { std: "docker" "start" "-a" "fbb14974c47dc513b4f3096b72fde1355543f601b23c5fd5f052868d397fcd0c", 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 ryu v1.0.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling aho-corasick v0.7.10 [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 slug v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.7 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling lmdb-rkv-sys v0.11.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling lmdb-rkv v0.14.0 [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 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 `file` is never read [INFO] [stdout] --> src/cli/args.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | file: ReadableFilename, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli/readable_filename.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ReadableFilename(PathBuf); [INFO] [stdout] | ---------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReadableFilename` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InputConfig` [INFO] [stdout] 31 | struct InputConfig { [INFO] [stdout] | ----------- `InputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InputConfig` [INFO] [stdout] 31 | struct InputConfig { [INFO] [stdout] | ----------- `InputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DifferConfig` [INFO] [stdout] 37 | struct DifferConfig { [INFO] [stdout] | ------------ `DifferConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DifferConfig` [INFO] [stdout] 37 | struct DifferConfig { [INFO] [stdout] | ------------ `DifferConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.08s [INFO] running `Command { std: "docker" "inspect" "fbb14974c47dc513b4f3096b72fde1355543f601b23c5fd5f052868d397fcd0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb14974c47dc513b4f3096b72fde1355543f601b23c5fd5f052868d397fcd0c", kill_on_drop: false }` [INFO] [stdout] fbb14974c47dc513b4f3096b72fde1355543f601b23c5fd5f052868d397fcd0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73679d72cbae115ff26dc8709b0f691d56f724dcbdff92b852f764960ee4264e [INFO] running `Command { std: "docker" "start" "-a" "73679d72cbae115ff26dc8709b0f691d56f724dcbdff92b852f764960ee4264e", kill_on_drop: false }` [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 log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling shh v1.0.1 [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/cli/args.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | file: ReadableFilename, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli/readable_filename.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ReadableFilename(PathBuf); [INFO] [stdout] | ---------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReadableFilename` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InputConfig` [INFO] [stdout] 31 | struct InputConfig { [INFO] [stdout] | ----------- `InputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InputConfig` [INFO] [stdout] 31 | struct InputConfig { [INFO] [stdout] | ----------- `InputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DifferConfig` [INFO] [stdout] 37 | struct DifferConfig { [INFO] [stdout] | ------------ `DifferConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DifferConfig` [INFO] [stdout] 37 | struct DifferConfig { [INFO] [stdout] | ------------ `DifferConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling ignore v0.4.15 [INFO] [stderr] Compiling globwalk v0.7.3 [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)]` (part of `#[warn(unused)]`) 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>, ...>` cannot be dereferenced [INFO] [stdout] --> tests/cucumber/unit_steps.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | *guard = mock; [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cucumber_unit-7b0617ff610f0bc0.long-type-698843990569085121.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] ... [INFO] [stdout] 57 | _ => panic!("Unknown readability: {}", readability) [INFO] [stdout] 58 ~ }) [INFO] [stdout] | [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` (test "cucumber-unit") due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InputConfig` [INFO] [stdout] 31 | struct InputConfig { [INFO] [stdout] | ----------- `InputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InputConfig` [INFO] [stdout] 31 | struct InputConfig { [INFO] [stdout] | ----------- `InputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DifferConfig` [INFO] [stdout] 37 | struct DifferConfig { [INFO] [stdout] | ------------ `DifferConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/experiment-differ.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DifferConfig` [INFO] [stdout] 37 | struct DifferConfig { [INFO] [stdout] | ------------ `DifferConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/cli/args.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | file: ReadableFilename, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli/readable_filename.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ReadableFilename(PathBuf); [INFO] [stdout] | ---------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReadableFilename` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73679d72cbae115ff26dc8709b0f691d56f724dcbdff92b852f764960ee4264e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73679d72cbae115ff26dc8709b0f691d56f724dcbdff92b852f764960ee4264e", kill_on_drop: false }` [INFO] [stdout] 73679d72cbae115ff26dc8709b0f691d56f724dcbdff92b852f764960ee4264e