[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehforsch%2Fpundit" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tehforsch/pundit on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.24.2 [INFO] [stderr] Downloaded prost-derive v0.8.0 [INFO] [stderr] Downloaded dissimilar v1.0.7 [INFO] [stderr] Downloaded prost v0.8.0 [INFO] [stderr] Downloaded prost-types v0.8.0 [INFO] [stderr] Downloaded ahash v0.4.8 [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53da454b8064077b2eb5cc818f9c633334b74f9b3c36b00b5ec913cb0a18e4a2 [INFO] running `Command { std: "docker" "start" "-a" "53da454b8064077b2eb5cc818f9c633334b74f9b3c36b00b5ec913cb0a18e4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53da454b8064077b2eb5cc818f9c633334b74f9b3c36b00b5ec913cb0a18e4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53da454b8064077b2eb5cc818f9c633334b74f9b3c36b00b5ec913cb0a18e4a2", kill_on_drop: false }` [INFO] [stdout] 53da454b8064077b2eb5cc818f9c633334b74f9b3c36b00b5ec913cb0a18e4a2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af27f215168ca1dd9135b39474d9ca07db4bbaeb0544e91d0f3ada950c93ec8e [INFO] running `Command { std: "docker" "start" "-a" "af27f215168ca1dd9135b39474d9ca07db4bbaeb0544e91d0f3ada950c93ec8e", 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] Checking memchr v2.7.1 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking shellexpand v2.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling prost-derive v0.8.0 [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 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: 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: 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.89s [INFO] running `Command { std: "docker" "inspect" "af27f215168ca1dd9135b39474d9ca07db4bbaeb0544e91d0f3ada950c93ec8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af27f215168ca1dd9135b39474d9ca07db4bbaeb0544e91d0f3ada950c93ec8e", kill_on_drop: false }` [INFO] [stdout] af27f215168ca1dd9135b39474d9ca07db4bbaeb0544e91d0f3ada950c93ec8e