[INFO] fetching crate confit 1.3.2... [INFO] checking confit-1.3.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate confit 1.3.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate confit 1.3.2 [INFO] finished tweaking crates.io crate confit 1.3.2 [INFO] tweaked toml for crates.io crate confit 1.3.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate confit 1.3.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate confit 1.3.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded include_dir v0.6.1 [INFO] [stderr] Downloaded dummy v0.4.0 [INFO] [stderr] Downloaded include_dir_impl v0.6.1 [INFO] [stderr] Downloaded anyhow v1.0.41 [INFO] [stderr] Downloaded fake v2.4.1 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded tera v1.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ebb0e6c84bda3fda184102de594301e6c27460856ab969980670d6ec9af3e3 [INFO] running `Command { std: "docker" "start" "-a" "b8ebb0e6c84bda3fda184102de594301e6c27460856ab969980670d6ec9af3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ebb0e6c84bda3fda184102de594301e6c27460856ab969980670d6ec9af3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ebb0e6c84bda3fda184102de594301e6c27460856ab969980670d6ec9af3e3", kill_on_drop: false }` [INFO] [stdout] b8ebb0e6c84bda3fda184102de594301e6c27460856ab969980670d6ec9af3e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81add2d2a9d036f6cd854b4c188d73ecbcd2d465c310dca1cce9875d50d857ee [INFO] running `Command { std: "docker" "start" "-a" "81add2d2a9d036f6cd854b4c188d73ecbcd2d465c310dca1cce9875d50d857ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling include_dir_impl v0.6.1 [INFO] [stderr] Checking include_dir v0.6.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling dummy v0.4.0 [INFO] [stderr] Checking fake v2.4.1 [INFO] [stderr] Checking tera v1.11.0 [INFO] [stderr] Checking confit v1.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/preserves.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | .any(|t| ch.tags.iter().any(|&c| (t == c) ))).collect() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - .any(|t| ch.tags.iter().any(|&c| (t == c) ))).collect() [INFO] [stdout] 113 + .any(|t| ch.tags.iter().any(|&c| t == c ))).collect() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/preserves.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | .any(|t| ch.tags.iter().any(|&c| (t == c) ))).collect() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - .any(|t| ch.tags.iter().any(|&c| (t == c) ))).collect() [INFO] [stdout] 113 + .any(|t| ch.tags.iter().any(|&c| t == c ))).collect() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `example` is never used [INFO] [stdout] --> src/git.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait Provider { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn example(&self) -> Self::Data { [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] --> src/git/parse.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | ParseInt(std::num::ParseIntError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Err` 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] 101 - ParseInt(std::num::ParseIntError), [INFO] [stdout] 101 + ParseInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Input` is never used [INFO] [stdout] --> src/git/parse.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | trait Input: AsRef + Eq + Default {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | .author(crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this raw pointer has type `*const std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&std::string::String` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | .author(crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap-2.33.3/src/macros.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493| &(&(*VALUE))[..] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/preserves.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `confit` (bin "confit" test) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `example` is never used [INFO] [stdout] --> src/git.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait Provider { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn example(&self) -> Self::Data { [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] --> src/git/parse.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | ParseInt(std::num::ParseIntError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Err` 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] 101 - ParseInt(std::num::ParseIntError), [INFO] [stdout] 101 + ParseInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Input` is never used [INFO] [stdout] --> src/git/parse.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | trait Input: AsRef + Eq + Default {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | .author(crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this raw pointer has type `*const std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&std::string::String` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | .author(crate_authors!(", ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap-2.33.3/src/macros.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493| &(&(*VALUE))[..] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/preserves.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `confit` (bin "confit") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81add2d2a9d036f6cd854b4c188d73ecbcd2d465c310dca1cce9875d50d857ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81add2d2a9d036f6cd854b4c188d73ecbcd2d465c310dca1cce9875d50d857ee", kill_on_drop: false }` [INFO] [stdout] 81add2d2a9d036f6cd854b4c188d73ecbcd2d465c310dca1cce9875d50d857ee