[INFO] fetching crate erupt-bootstrap 0.2.3... [INFO] testing erupt-bootstrap-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate erupt-bootstrap 0.2.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate erupt-bootstrap 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate erupt-bootstrap 0.2.3 [INFO] finished tweaking crates.io crate erupt-bootstrap 0.2.3 [INFO] tweaked toml for crates.io crate erupt-bootstrap 0.2.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate erupt-bootstrap 0.2.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80cdce91f6eccfeed6f2ec0365e086eeabd3025d6910f44c94b2d05c8f4eb722 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80cdce91f6eccfeed6f2ec0365e086eeabd3025d6910f44c94b2d05c8f4eb722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80cdce91f6eccfeed6f2ec0365e086eeabd3025d6910f44c94b2d05c8f4eb722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80cdce91f6eccfeed6f2ec0365e086eeabd3025d6910f44c94b2d05c8f4eb722", kill_on_drop: false }` [INFO] [stdout] 80cdce91f6eccfeed6f2ec0365e086eeabd3025d6910f44c94b2d05c8f4eb722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf6440761ed6844a8e27ce5016e0b280cdcd8f1854eac68491df3f684629566a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf6440761ed6844a8e27ce5016e0b280cdcd8f1854eac68491df3f684629566a", kill_on_drop: false }` [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling erupt v0.22.0+204 [INFO] [stderr] Compiling erupt-bootstrap v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device.rs:609:31 [INFO] [stdout] | [INFO] [stdout] 575 | / pub unsafe fn build( [INFO] [stdout] 576 | | mut self, [INFO] [stdout] 577 | | instance: &'a InstanceLoader, [INFO] [stdout] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stdout] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stdout] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 609 | (physical_device, unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device.rs:820:40 [INFO] [stdout] | [INFO] [stdout] 575 | / pub unsafe fn build( [INFO] [stdout] 576 | | mut self, [INFO] [stdout] 577 | | instance: &'a InstanceLoader, [INFO] [stdout] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stdout] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stdout] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 820 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:552:35 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 552 | .map(|messenger_info| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 563 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:567:28 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 567 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.14s [INFO] running `Command { std: "docker" "inspect" "cf6440761ed6844a8e27ce5016e0b280cdcd8f1854eac68491df3f684629566a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6440761ed6844a8e27ce5016e0b280cdcd8f1854eac68491df3f684629566a", kill_on_drop: false }` [INFO] [stdout] cf6440761ed6844a8e27ce5016e0b280cdcd8f1854eac68491df3f684629566a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97c453bc65117b9098645a16d2c053386394353bc839cb5f5c423c725c3b5f72 [INFO] running `Command { std: "docker" "start" "-a" "97c453bc65117b9098645a16d2c053386394353bc839cb5f5c423c725c3b5f72", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling erupt v0.22.0+204 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling erupt-bootstrap v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device.rs:609:31 [INFO] [stdout] | [INFO] [stdout] 575 | / pub unsafe fn build( [INFO] [stdout] 576 | | mut self, [INFO] [stdout] 577 | | instance: &'a InstanceLoader, [INFO] [stdout] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stdout] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stdout] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 609 | (physical_device, unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device.rs:820:40 [INFO] [stdout] | [INFO] [stdout] 575 | / pub unsafe fn build( [INFO] [stdout] 576 | | mut self, [INFO] [stdout] 577 | | instance: &'a InstanceLoader, [INFO] [stdout] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stdout] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stdout] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 820 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:552:35 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 552 | .map(|messenger_info| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 563 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:567:28 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 567 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device.rs:609:31 [INFO] [stdout] | [INFO] [stdout] 575 | / pub unsafe fn build( [INFO] [stdout] 576 | | mut self, [INFO] [stdout] 577 | | instance: &'a InstanceLoader, [INFO] [stdout] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stdout] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stdout] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 609 | (physical_device, unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device.rs:820:40 [INFO] [stdout] | [INFO] [stdout] 575 | / pub unsafe fn build( [INFO] [stdout] 576 | | mut self, [INFO] [stdout] 577 | | instance: &'a InstanceLoader, [INFO] [stdout] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stdout] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stdout] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 820 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:552:35 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 552 | .map(|messenger_info| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 563 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/instance.rs:567:28 [INFO] [stdout] | [INFO] [stdout] 401 | / pub unsafe fn build( [INFO] [stdout] 402 | | self, [INFO] [stdout] 403 | | entry: &'a CustomEntryLoader, [INFO] [stdout] 404 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 410 | | InstanceCreationError, [INFO] [stdout] 411 | | > { [INFO] [stdout] | |_____- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 567 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 20s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/erupt_bootstrap-9443d21903f822ac) [INFO] running `Command { std: "docker" "inspect" "97c453bc65117b9098645a16d2c053386394353bc839cb5f5c423c725c3b5f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c453bc65117b9098645a16d2c053386394353bc839cb5f5c423c725c3b5f72", kill_on_drop: false }` [INFO] [stdout] 97c453bc65117b9098645a16d2c053386394353bc839cb5f5c423c725c3b5f72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad477d51801646f51a87701a3a1b6b333060fae1b67dc4115d2b18e900029ba9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad477d51801646f51a87701a3a1b6b333060fae1b67dc4115d2b18e900029ba9", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/device.rs:609:31 [INFO] [stderr] | [INFO] [stderr] 575 | / pub unsafe fn build( [INFO] [stderr] 576 | | mut self, [INFO] [stderr] 577 | | instance: &'a InstanceLoader, [INFO] [stderr] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stderr] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stderr] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 609 | (physical_device, unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/device.rs:820:40 [INFO] [stderr] | [INFO] [stderr] 575 | / pub unsafe fn build( [INFO] [stderr] 576 | | mut self, [INFO] [stderr] 577 | | instance: &'a InstanceLoader, [INFO] [stderr] 578 | | instance_metadata: &InstanceMetadata, [INFO] [stderr] 579 | | ) -> Result<(DeviceLoader, DeviceMetadata), DeviceCreationError> { [INFO] [stderr] | |____________________________________________________________________- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 820 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/instance.rs:552:35 [INFO] [stderr] | [INFO] [stderr] 401 | / pub unsafe fn build( [INFO] [stderr] 402 | | self, [INFO] [stderr] 403 | | entry: &'a CustomEntryLoader, [INFO] [stderr] 404 | | ) -> Result< [INFO] [stderr] ... | [INFO] [stderr] 410 | | InstanceCreationError, [INFO] [stderr] 411 | | > { [INFO] [stderr] | |_____- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 552 | .map(|messenger_info| unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/instance.rs:563:28 [INFO] [stderr] | [INFO] [stderr] 401 | / pub unsafe fn build( [INFO] [stderr] 402 | | self, [INFO] [stderr] 403 | | entry: &'a CustomEntryLoader, [INFO] [stderr] 404 | | ) -> Result< [INFO] [stderr] ... | [INFO] [stderr] 410 | | InstanceCreationError, [INFO] [stderr] 411 | | > { [INFO] [stderr] | |_____- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 563 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/instance.rs:567:28 [INFO] [stderr] | [INFO] [stderr] 401 | / pub unsafe fn build( [INFO] [stderr] 402 | | self, [INFO] [stderr] 403 | | entry: &'a CustomEntryLoader, [INFO] [stderr] 404 | | ) -> Result< [INFO] [stderr] ... | [INFO] [stderr] 410 | | InstanceCreationError, [INFO] [stderr] 411 | | > { [INFO] [stderr] | |_____- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 567 | .map(|ptr| unsafe { CStr::from_ptr(ptr).to_owned() }) [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] [INFO] [stderr] warning: `erupt-bootstrap` (lib) generated 5 warnings [INFO] [stderr] warning: `erupt-bootstrap` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/erupt_bootstrap-9443d21903f822ac) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test instance::tests::basic ... ok [INFO] [stdout] test instance::tests::validation_and_messenger ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Doc-tests erupt-bootstrap [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/device.rs - device::DeviceBuilder::custom_queue_setup (line 429) ... ignored [INFO] [stdout] test src/lib.rs - (line 18) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad477d51801646f51a87701a3a1b6b333060fae1b67dc4115d2b18e900029ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad477d51801646f51a87701a3a1b6b333060fae1b67dc4115d2b18e900029ba9", kill_on_drop: false }` [INFO] [stdout] ad477d51801646f51a87701a3a1b6b333060fae1b67dc4115d2b18e900029ba9