[INFO] fetching crate libwing 1.0.4... [INFO] testing libwing-1.0.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libwing 1.0.4 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libwing 1.0.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3213a25ce887ecfd153132da73e39065fa7be81fe9d603c7d219956c7788a82 [INFO] running `Command { std: "docker" "start" "-a" "a3213a25ce887ecfd153132da73e39065fa7be81fe9d603c7d219956c7788a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3213a25ce887ecfd153132da73e39065fa7be81fe9d603c7d219956c7788a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3213a25ce887ecfd153132da73e39065fa7be81fe9d603c7d219956c7788a82", kill_on_drop: false }` [INFO] [stdout] a3213a25ce887ecfd153132da73e39065fa7be81fe9d603c7d219956c7788a82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fc1ddd44e61d56e0356e2cd68e0dccd7f9d4bfd7a796817180a8b85891d93b9 [INFO] running `Command { std: "docker" "start" "-a" "0fc1ddd44e61d56e0356e2cd68e0dccd7f9d4bfd7a796817180a8b85891d93b9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling jzon v0.12.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [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 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" "0fc1ddd44e61d56e0356e2cd68e0dccd7f9d4bfd7a796817180a8b85891d93b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc1ddd44e61d56e0356e2cd68e0dccd7f9d4bfd7a796817180a8b85891d93b9", kill_on_drop: false }` [INFO] [stdout] 0fc1ddd44e61d56e0356e2cd68e0dccd7f9d4bfd7a796817180a8b85891d93b9