[INFO] fetching crate cityhash 0.1.1... [INFO] checking cityhash-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cityhash 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate cityhash 0.1.1 [INFO] finished tweaking crates.io crate cityhash 0.1.1 [INFO] tweaked toml for crates.io crate cityhash 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cityhash 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.49.4 (available: v0.72.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.45) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e5e7e9c327b7397f422aec856dff6e1a348fde7771111649f5a9a5e9b1a0eb8 [INFO] running `Command { std: "docker" "start" "-a" "4e5e7e9c327b7397f422aec856dff6e1a348fde7771111649f5a9a5e9b1a0eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e5e7e9c327b7397f422aec856dff6e1a348fde7771111649f5a9a5e9b1a0eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5e7e9c327b7397f422aec856dff6e1a348fde7771111649f5a9a5e9b1a0eb8", kill_on_drop: false }` [INFO] [stdout] 4e5e7e9c327b7397f422aec856dff6e1a348fde7771111649f5a9a5e9b1a0eb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 592aa699337c320ec0bd34f98dbf74629025abe33f5a80df62440c59f9531c57 [INFO] running `Command { std: "docker" "start" "-a" "592aa699337c320ec0bd34f98dbf74629025abe33f5a80df62440c59f9531c57", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling cityhash v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cityhash-63d898aa6d6004be/out/cityhash_1.rs:3:473 [INFO] [stdout] | [INFO] [stdout] 3 | ...q ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uint128 > ( ) ) ) . first as * const _ as usize } , 0usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cityhash-63d898aa6d6004be/out/cityhash_1.rs:3:686 [INFO] [stdout] | [INFO] [stdout] 3 | ...q ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uint128 > ( ) ) ) . second as * const _ as usize } , 8usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cityhash_1.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(string: &str) -> Utf16ByteIterator { [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] 55 | fn new(string: &str) -> Utf16ByteIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cityhash-63d898aa6d6004be/out/cityhash_1_1_1.rs:3:473 [INFO] [stdout] | [INFO] [stdout] 3 | ...q ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uint128 > ( ) ) ) . first as * const _ as usize } , 0usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cityhash-63d898aa6d6004be/out/cityhash_1_1_1.rs:3:686 [INFO] [stdout] | [INFO] [stdout] 3 | ...q ! ( unsafe { & ( * ( :: std :: ptr :: null :: < uint128 > ( ) ) ) . second as * const _ as usize } , 8usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bin.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | .author(crate_authors!(" ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this raw pointer has type `*const 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: `&String` [INFO] [stdout] --> src/bin.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | .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.34.0/src/macros.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493| &(&(*VALUE))[..] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bin.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | .author(crate_authors!(" ")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this raw pointer has type `*const 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: `&String` [INFO] [stdout] --> src/bin.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | .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.34.0/src/macros.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493| &(&(*VALUE))[..] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cityhash` (bin "cityhash") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cityhash` (bin "cityhash" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "592aa699337c320ec0bd34f98dbf74629025abe33f5a80df62440c59f9531c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592aa699337c320ec0bd34f98dbf74629025abe33f5a80df62440c59f9531c57", kill_on_drop: false }` [INFO] [stdout] 592aa699337c320ec0bd34f98dbf74629025abe33f5a80df62440c59f9531c57