[INFO] fetching crate libwing 1.0.4... [INFO] testing libwing-1.0.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate libwing 1.0.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate libwing 1.0.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libwing 1.0.4 [INFO] tweaked toml for crates.io crate libwing 1.0.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libwing 1.0.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libwing 1.0.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jzon v0.12.5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f6496fb3a1e6c37ebef55b144b8604f39cb26d6311ad3f7b6dc64c25e0485c3 [INFO] running `Command { std: "docker" "start" "-a" "6f6496fb3a1e6c37ebef55b144b8604f39cb26d6311ad3f7b6dc64c25e0485c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f6496fb3a1e6c37ebef55b144b8604f39cb26d6311ad3f7b6dc64c25e0485c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6496fb3a1e6c37ebef55b144b8604f39cb26d6311ad3f7b6dc64c25e0485c3", kill_on_drop: false }` [INFO] [stdout] 6f6496fb3a1e6c37ebef55b144b8604f39cb26d6311ad3f7b6dc64c25e0485c3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1132ddec0d87b62742956435a8beb1cca070ae72177343f585719c72f739a100 [INFO] running `Command { std: "docker" "start" "-a" "1132ddec0d87b62742956435a8beb1cca070ae72177343f585719c72f739a100", kill_on_drop: false }` [INFO] [stderr] Compiling jzon v0.12.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling libwing v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const WingDiscoveryInfoHandle` [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: `&Vec` [INFO] [stdout] --> src/ffi.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 65 | let info = &(&(*handle).info)[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const WingDiscoveryInfoHandle` [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: `&Vec` [INFO] [stdout] --> src/ffi.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 73 | let info = &(&(*handle).info)[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const WingDiscoveryInfoHandle` [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: `&Vec` [INFO] [stdout] --> src/ffi.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 81 | let info = &(&(*handle).info)[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const WingDiscoveryInfoHandle` [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: `&Vec` [INFO] [stdout] --> src/ffi.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 89 | let info = &(&(*handle).info)[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const WingDiscoveryInfoHandle` [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: `&Vec` [INFO] [stdout] --> src/ffi.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let info = &(*handle).info[index as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 97 | let info = &(&(*handle).info)[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libwing` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1132ddec0d87b62742956435a8beb1cca070ae72177343f585719c72f739a100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1132ddec0d87b62742956435a8beb1cca070ae72177343f585719c72f739a100", kill_on_drop: false }` [INFO] [stdout] 1132ddec0d87b62742956435a8beb1cca070ae72177343f585719c72f739a100