[INFO] fetching crate sawp-ffi 0.13.1... [INFO] building sawp-ffi-0.13.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate sawp-ffi 0.13.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sawp-ffi 0.13.1 [INFO] finished tweaking crates.io crate sawp-ffi 0.13.1 [INFO] tweaked toml for crates.io crate sawp-ffi 0.13.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sawp-ffi 0.13.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding proc-macro-crate v1.1.0 (available: v1.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48d27ef377864ba376870da6d8d18d67e0f0670b903cf85ecf17bea0189efec6 [INFO] running `Command { std: "docker" "start" "-a" "48d27ef377864ba376870da6d8d18d67e0f0670b903cf85ecf17bea0189efec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48d27ef377864ba376870da6d8d18d67e0f0670b903cf85ecf17bea0189efec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d27ef377864ba376870da6d8d18d67e0f0670b903cf85ecf17bea0189efec6", kill_on_drop: false }` [INFO] [stdout] 48d27ef377864ba376870da6d8d18d67e0f0670b903cf85ecf17bea0189efec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f942a2524a1df3d5c2de0f46c18b343545df1286d2c7e0f237a329a46acb9593 [INFO] running `Command { std: "docker" "start" "-a" "f942a2524a1df3d5c2de0f46c18b343545df1286d2c7e0f237a329a46acb9593", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling sawp-flags-derive v0.13.1 [INFO] [stderr] Compiling sawp-ffi-derive v0.13.1 [INFO] [stderr] Compiling sawp-flags v0.13.1 [INFO] [stderr] Compiling sawp-ffi v0.13.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "f942a2524a1df3d5c2de0f46c18b343545df1286d2c7e0f237a329a46acb9593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f942a2524a1df3d5c2de0f46c18b343545df1286d2c7e0f237a329a46acb9593", kill_on_drop: false }` [INFO] [stdout] f942a2524a1df3d5c2de0f46c18b343545df1286d2c7e0f237a329a46acb9593 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ebac7c8ac1f0bd35266216db7080fb3368e25187f9e310dd01d1bce2c0706c [INFO] running `Command { std: "docker" "start" "-a" "73ebac7c8ac1f0bd35266216db7080fb3368e25187f9e310dd01d1bce2c0706c", kill_on_drop: false }` [INFO] [stderr] Compiling sawp-ffi v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | #[derive(GenerateFFI)] [INFO] [stdout] | ^^^^^^^^^^^ this raw pointer has type `*const Vec` [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/lib.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | #[derive(GenerateFFI)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the derive macro `GenerateFFI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(GenerateFFI)] [INFO] [stdout] | ^^^^^^^^^^^ this raw pointer has type `*const Vec` [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/lib.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(GenerateFFI)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `GenerateFFI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:334:18 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(GenerateFFI)] [INFO] [stdout] | ^^^^^^^^^^^ this raw pointer has type `*const Vec` [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/lib.rs:334:18 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(GenerateFFI)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `GenerateFFI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sawp-ffi` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "73ebac7c8ac1f0bd35266216db7080fb3368e25187f9e310dd01d1bce2c0706c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ebac7c8ac1f0bd35266216db7080fb3368e25187f9e310dd01d1bce2c0706c", kill_on_drop: false }` [INFO] [stdout] 73ebac7c8ac1f0bd35266216db7080fb3368e25187f9e310dd01d1bce2c0706c