[INFO] fetching crate anymap 1.0.0-beta.2... [INFO] checking anymap-1.0.0-beta.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate anymap 1.0.0-beta.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate anymap 1.0.0-beta.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate anymap 1.0.0-beta.2 [INFO] finished tweaking crates.io crate anymap 1.0.0-beta.2 [INFO] tweaked toml for crates.io crate anymap 1.0.0-beta.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6ca19be0a9fb3c35daaf7a187dc689468765545639f0a9f75b335cb44c90982 [INFO] running `Command { std: "docker" "start" "-a" "c6ca19be0a9fb3c35daaf7a187dc689468765545639f0a9f75b335cb44c90982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6ca19be0a9fb3c35daaf7a187dc689468765545639f0a9f75b335cb44c90982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6ca19be0a9fb3c35daaf7a187dc689468765545639f0a9f75b335cb44c90982", kill_on_drop: false }` [INFO] [stdout] c6ca19be0a9fb3c35daaf7a187dc689468765545639f0a9f75b335cb44c90982 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cc3e000453b9bc3906bc19e4bb9a63dba9720df63a1910768ad95e003cec1ef [INFO] running `Command { std: "docker" "start" "-a" "3cc3e000453b9bc3906bc19e4bb9a63dba9720df63a1910768ad95e003cec1ef", kill_on_drop: false }` [INFO] [stderr] Checking anymap v1.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: adding an auto trait `Send` to a trait object in a pointer cast may cause UB later on [INFO] [stdout] --> src/any.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { Box::from_raw(raw as *mut $t) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl_clone!(dyn CloneAny + Send); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #127323 [INFO] [stdout] = note: `#[warn(ptr_cast_add_auto_to_object)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: adding auto traits `Send` and `Sync` to a trait object in a pointer cast may cause UB later on [INFO] [stdout] --> src/any.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { Box::from_raw(raw as *mut $t) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_clone!(dyn CloneAny + Send + Sync); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #127323 [INFO] [stdout] = note: this warning originates in the macro `impl_clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: adding an auto trait `Send` to a trait object in a pointer cast may cause UB later on [INFO] [stdout] --> src/any.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { Box::from_raw(raw as *mut $t) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl_clone!(dyn CloneAny + Send); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #127323 [INFO] [stdout] = note: `#[warn(ptr_cast_add_auto_to_object)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: adding auto traits `Send` and `Sync` to a trait object in a pointer cast may cause UB later on [INFO] [stdout] --> src/any.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { Box::from_raw(raw as *mut $t) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_clone!(dyn CloneAny + Send + Sync); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #127323 [INFO] [stdout] = note: this warning originates in the macro `impl_clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> src/lib.rs:638:46 [INFO] [stdout] | [INFO] [stdout] 638 | assert_eq!(hasher.finish(), unsafe { core::mem::transmute::(type_id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `TypeId` (128 bits) [INFO] [stdout] = note: target type: `u64` (64 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anymap` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cc3e000453b9bc3906bc19e4bb9a63dba9720df63a1910768ad95e003cec1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cc3e000453b9bc3906bc19e4bb9a63dba9720df63a1910768ad95e003cec1ef", kill_on_drop: false }` [INFO] [stdout] 3cc3e000453b9bc3906bc19e4bb9a63dba9720df63a1910768ad95e003cec1ef