[INFO] fetching crate libwing 1.0.4... [INFO] testing libwing-1.0.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libwing 1.0.4 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libwing 1.0.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80054a1ac8022711e7963c75ea78303834e97500b7971dca2d7b37b181f5f24a [INFO] running `Command { std: "docker" "start" "-a" "80054a1ac8022711e7963c75ea78303834e97500b7971dca2d7b37b181f5f24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80054a1ac8022711e7963c75ea78303834e97500b7971dca2d7b37b181f5f24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80054a1ac8022711e7963c75ea78303834e97500b7971dca2d7b37b181f5f24a", kill_on_drop: false }` [INFO] [stdout] 80054a1ac8022711e7963c75ea78303834e97500b7971dca2d7b37b181f5f24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bba2389e809beda7b19ac54150f1da8851c27e38cb260676f2ee34f83abda03a [INFO] running `Command { std: "docker" "start" "-a" "bba2389e809beda7b19ac54150f1da8851c27e38cb260676f2ee34f83abda03a", 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" "bba2389e809beda7b19ac54150f1da8851c27e38cb260676f2ee34f83abda03a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba2389e809beda7b19ac54150f1da8851c27e38cb260676f2ee34f83abda03a", kill_on_drop: false }` [INFO] [stdout] bba2389e809beda7b19ac54150f1da8851c27e38cb260676f2ee34f83abda03a