[INFO] crate fast-rustc-ap-rustc_data_structures 1.0.0 is already in cache [INFO] checking fast-rustc-ap-rustc_data_structures-1.0.0 against try#8a5e87609850cdd8679aada01eb0f3062f254ca8 for pr-71140 [INFO] extracting crate fast-rustc-ap-rustc_data_structures 1.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate fast-rustc-ap-rustc_data_structures 1.0.0 on toolchain 8a5e87609850cdd8679aada01eb0f3062f254ca8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate fast-rustc-ap-rustc_data_structures 1.0.0 [INFO] finished tweaking crates.io crate fast-rustc-ap-rustc_data_structures 1.0.0 [INFO] tweaked toml for crates.io crate fast-rustc-ap-rustc_data_structures 1.0.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 82ec68848e0ff5eb987c73048fc4443eb978c632fcc332478445d9bdd4e7ee5a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "82ec68848e0ff5eb987c73048fc4443eb978c632fcc332478445d9bdd4e7ee5a"` [INFO] [stderr] Checking fast-rustc-ap-rustc_data_structures v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0605]: non-primitive cast: `std::num::NonZeroU64` as `u32` [INFO] [stderr] --> profiling.rs:348:29 [INFO] [stderr] | [INFO] [stderr] 348 | let thread_id = std::thread::current().id().as_u64() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `std::num::NonZeroU64` as `u32` [INFO] [stderr] --> profiling.rs:525:25 [INFO] [stderr] | [INFO] [stderr] 525 | let thread_id = std::thread::current().id().as_u64() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0605`. [INFO] [stderr] error: could not compile `fast-rustc-ap-rustc_data_structures`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0605]: non-primitive cast: `std::num::NonZeroU64` as `u32` [INFO] [stderr] --> profiling.rs:348:29 [INFO] [stderr] | [INFO] [stderr] 348 | let thread_id = std::thread::current().id().as_u64() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `std::num::NonZeroU64` as `u32` [INFO] [stderr] --> profiling.rs:525:25 [INFO] [stderr] | [INFO] [stderr] 525 | let thread_id = std::thread::current().id().as_u64() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0605`. [INFO] [stderr] error: could not compile `fast-rustc-ap-rustc_data_structures`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "82ec68848e0ff5eb987c73048fc4443eb978c632fcc332478445d9bdd4e7ee5a"` [INFO] running `"docker" "rm" "-f" "82ec68848e0ff5eb987c73048fc4443eb978c632fcc332478445d9bdd4e7ee5a"` [INFO] [stdout] 82ec68848e0ff5eb987c73048fc4443eb978c632fcc332478445d9bdd4e7ee5a