[INFO] fetching crate pthash 0.4.0... [INFO] checking pthash-0.4.0 against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] extracting crate pthash 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pthash 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pthash 0.4.0 [INFO] tweaked toml for crates.io crate pthash 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pthash 0.4.0 on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pthash 0.4.0 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f3b900b9f35a48b87aefc365ff9fafdc409d1ab56aa4045433637a262ff10d8 [INFO] running `Command { std: "docker" "start" "-a" "1f3b900b9f35a48b87aefc365ff9fafdc409d1ab56aa4045433637a262ff10d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f3b900b9f35a48b87aefc365ff9fafdc409d1ab56aa4045433637a262ff10d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3b900b9f35a48b87aefc365ff9fafdc409d1ab56aa4045433637a262ff10d8", kill_on_drop: false }` [INFO] [stdout] 1f3b900b9f35a48b87aefc365ff9fafdc409d1ab56aa4045433637a262ff10d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cccf783c2430ec9e0866d1c7d15263997d9c80c747efa59a15013a17a2412b1 [INFO] running `Command { std: "docker" "start" "-a" "1cccf783c2430ec9e0866d1c7d15263997d9c80c747efa59a15013a17a2412b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cxxbridge-flags v1.0.121 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling autocxx-bindgen v0.69.5 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling autocxx v0.27.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.121 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling cxx-gen v0.7.124 [INFO] [stderr] Compiling cxx-build v1.0.121 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling cxxbridge-macro v1.0.121 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Checking moveit v0.6.0 [INFO] [stderr] Compiling autocxx-parser v0.27.0 [INFO] [stderr] Compiling autocxx-engine v0.27.0 [INFO] [stderr] Compiling autocxx-macro v0.27.0 [INFO] [stderr] Compiling autocxx-build v0.27.0 [INFO] [stderr] Compiling pthash v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0446]: crate-private trait `hashing::Hash` in public interface [INFO] [stdout] --> src/hashing.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait Hash: Sized { [INFO] [stdout] | ---------------------------- `hashing::Hash` declared as crate-private [INFO] [stdout] ... [INFO] [stdout] 100 | type Hash: Hash + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `byte_range` is never constructed [INFO] [stdout] --> src/hashing.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | struct byte_range { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: crate-private trait `hashing::Hash` in public interface [INFO] [stdout] --> src/hashing.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait Hash: Sized { [INFO] [stdout] | ---------------------------- `hashing::Hash` declared as crate-private [INFO] [stdout] ... [INFO] [stdout] 100 | type Hash: Hash + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `byte_range` is never constructed [INFO] [stdout] --> src/hashing.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | struct byte_range { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pthash` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pthash` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1cccf783c2430ec9e0866d1c7d15263997d9c80c747efa59a15013a17a2412b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cccf783c2430ec9e0866d1c7d15263997d9c80c747efa59a15013a17a2412b1", kill_on_drop: false }` [INFO] [stdout] 1cccf783c2430ec9e0866d1c7d15263997d9c80c747efa59a15013a17a2412b1