[INFO] cloning repository https://github.com/Tehforsch/pundit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tehforsch/pundit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fa3daa2e22b9374d377de58c3e416ebe8948c71 [INFO] checking Tehforsch/pundit against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tehforsch/pundit on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tehforsch/pundit [INFO] finished tweaking git repo https://github.com/Tehforsch/pundit [INFO] tweaked toml for git repo https://github.com/Tehforsch/pundit written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tehforsch/pundit 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.8.0 [INFO] [stderr] Downloaded prost v0.8.0 [INFO] [stderr] Downloaded prost-derive v0.8.0 [INFO] [stderr] Downloaded rusqlite v0.24.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] [stderr] Downloaded prost-build v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91a42f6e451b8c761d8bbb8c2860dc5231f863edf27c244cc0f9e8c0aa3ad08c [INFO] running `Command { std: "docker" "start" "-a" "91a42f6e451b8c761d8bbb8c2860dc5231f863edf27c244cc0f9e8c0aa3ad08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a42f6e451b8c761d8bbb8c2860dc5231f863edf27c244cc0f9e8c0aa3ad08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a42f6e451b8c761d8bbb8c2860dc5231f863edf27c244cc0f9e8c0aa3ad08c", kill_on_drop: false }` [INFO] [stdout] 91a42f6e451b8c761d8bbb8c2860dc5231f863edf27c244cc0f9e8c0aa3ad08c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 786859d1b20a9050185ecd3a2e82b2c7cf5c2da78cddfa3ff6102f882a00921b [INFO] running `Command { std: "docker" "start" "-a" "786859d1b20a9050185ecd3a2e82b2c7cf5c2da78cddfa3ff6102f882a00921b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking shellexpand v2.1.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking serde_json v1.0.111 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking pundit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `InvalidNoteError` is never constructed [INFO] [stdout] --> src/note.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct InvalidNoteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidTitleError` is never constructed [INFO] [stdout] --> src/note.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct InvalidTitleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidNoteError` is never constructed [INFO] [stdout] --> src/note.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct InvalidNoteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidTitleError` is never constructed [INFO] [stdout] --> src/note.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct InvalidTitleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `success` is never read [INFO] [stdout] --> tests/setup/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TestOutput { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | pub env: TestEnv, [INFO] [stdout] 32 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(walkdir::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(walkdir::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.87s [INFO] running `Command { std: "docker" "inspect" "786859d1b20a9050185ecd3a2e82b2c7cf5c2da78cddfa3ff6102f882a00921b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786859d1b20a9050185ecd3a2e82b2c7cf5c2da78cddfa3ff6102f882a00921b", kill_on_drop: false }` [INFO] [stdout] 786859d1b20a9050185ecd3a2e82b2c7cf5c2da78cddfa3ff6102f882a00921b [INFO] checking Tehforsch/pundit against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tehforsch/pundit on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tehforsch/pundit [INFO] finished tweaking git repo https://github.com/Tehforsch/pundit [INFO] tweaked toml for git repo https://github.com/Tehforsch/pundit written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tehforsch/pundit 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a23a777ab2f7abb6f09f9ae8a4bcf7994a6ac12b9f73a9a4d61d02447f7db32 [INFO] running `Command { std: "docker" "start" "-a" "4a23a777ab2f7abb6f09f9ae8a4bcf7994a6ac12b9f73a9a4d61d02447f7db32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a23a777ab2f7abb6f09f9ae8a4bcf7994a6ac12b9f73a9a4d61d02447f7db32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a23a777ab2f7abb6f09f9ae8a4bcf7994a6ac12b9f73a9a4d61d02447f7db32", kill_on_drop: false }` [INFO] [stdout] 4a23a777ab2f7abb6f09f9ae8a4bcf7994a6ac12b9f73a9a4d61d02447f7db32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd33e4ca087f3fea3f501f7745dcb95218431bcee2114f53d26f128245e27a15 [INFO] running `Command { std: "docker" "start" "-a" "dd33e4ca087f3fea3f501f7745dcb95218431bcee2114f53d26f128245e27a15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking shellexpand v2.1.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde_json v1.0.111 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking pundit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `InvalidNoteError` is never constructed [INFO] [stdout] --> src/note.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct InvalidNoteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidTitleError` is never constructed [INFO] [stdout] --> src/note.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct InvalidTitleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidNoteError` is never constructed [INFO] [stdout] --> src/note.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct InvalidNoteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidTitleError` is never constructed [INFO] [stdout] --> src/note.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct InvalidTitleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `success` is never read [INFO] [stdout] --> tests/setup/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TestOutput { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | pub env: TestEnv, [INFO] [stdout] 32 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(walkdir::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/setup/dir_diff.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(walkdir::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | WalkDir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/setup/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let path = &env.dir.path().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 140 - let path = &env.dir.path().clone(); [INFO] [stdout] 140 + let path = &env.dir.path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.13s [INFO] running `Command { std: "docker" "inspect" "dd33e4ca087f3fea3f501f7745dcb95218431bcee2114f53d26f128245e27a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd33e4ca087f3fea3f501f7745dcb95218431bcee2114f53d26f128245e27a15", kill_on_drop: false }` [INFO] [stdout] dd33e4ca087f3fea3f501f7745dcb95218431bcee2114f53d26f128245e27a15