[INFO] fetching crate cavalier_contours_ffi 0.4.0... [INFO] checking cavalier_contours_ffi-0.4.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate cavalier_contours_ffi 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cavalier_contours_ffi 0.4.0 [INFO] finished tweaking crates.io crate cavalier_contours_ffi 0.4.0 [INFO] tweaked toml for crates.io crate cavalier_contours_ffi 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cavalier_contours_ffi 0.4.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 458b163b4eb0b5a38fcc736854ea63480cf7e06fe7761b0ca797ad2ab591e2b4 [INFO] running `Command { std: "docker" "start" "-a" "458b163b4eb0b5a38fcc736854ea63480cf7e06fe7761b0ca797ad2ab591e2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "458b163b4eb0b5a38fcc736854ea63480cf7e06fe7761b0ca797ad2ab591e2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458b163b4eb0b5a38fcc736854ea63480cf7e06fe7761b0ca797ad2ab591e2b4", kill_on_drop: false }` [INFO] [stdout] 458b163b4eb0b5a38fcc736854ea63480cf7e06fe7761b0ca797ad2ab591e2b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c742567ff32d335b18d3dc3391e46e1fb451710844ec08513c70cdaadcb6fd [INFO] running `Command { std: "docker" "start" "-a" "f1c742567ff32d335b18d3dc3391e46e1fb451710844ec08513c70cdaadcb6fd", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking static_aabb2d_index v2.0.0 [INFO] [stderr] Checking cavalier_contours v0.4.0 [INFO] [stderr] Checking cavalier_contours_ffi v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn to_internal(&self) -> PlineOffsetOptions { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn to_internal(&self) -> PlineOffsetOptions<'_, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe fn to_internal(&self) -> PlineBooleanOptions { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe fn to_internal(&self) -> PlineBooleanOptions<'_, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn to_internal(&self) -> PlineOffsetOptions { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn to_internal(&self) -> PlineOffsetOptions<'_, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe fn to_internal(&self) -> PlineBooleanOptions { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe fn to_internal(&self) -> PlineBooleanOptions<'_, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let v = (*pline).0[position as usize]; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const cavc_pline` [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: `&Polyline` [INFO] [stdout] --> src/lib.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let v = (*pline).0[position 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] 561 | let v = (&(*pline).0)[position 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/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | (*pline).0[position as usize] = PlineVertex::new(vertex.x, vertex.y, vertex.bulge); [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut cavc_pline` [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: `&mut Polyline` [INFO] [stdout] --> src/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | (*pline).0[position as usize] = PlineVertex::new(vertex.x, vertex.y, vertex.bulge); [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] 596 | (&mut (*pline).0)[position as usize] = PlineVertex::new(vertex.x, vertex.y, vertex.bulge); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:1155:15 [INFO] [stdout] | [INFO] [stdout] 1155 | match (*plinelist).0.get(pos) { [INFO] [stdout] | ^^---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const cavc_plinelist` [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: `&[*mut cavc_pline]` [INFO] [stdout] --> src/lib.rs:1155:15 [INFO] [stdout] | [INFO] [stdout] 1155 | match (*plinelist).0.get(pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/slice/mod.rs:571:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1155 | match (&(*plinelist).0).get(pos) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let v = (*pline).0[position as usize]; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const cavc_pline` [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: `&Polyline` [INFO] [stdout] --> src/lib.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let v = (*pline).0[position 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] 561 | let v = (&(*pline).0)[position 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/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | (*pline).0[position as usize] = PlineVertex::new(vertex.x, vertex.y, vertex.bulge); [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut cavc_pline` [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: `&mut Polyline` [INFO] [stdout] --> src/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | (*pline).0[position as usize] = PlineVertex::new(vertex.x, vertex.y, vertex.bulge); [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] 596 | (&mut (*pline).0)[position as usize] = PlineVertex::new(vertex.x, vertex.y, vertex.bulge); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:1155:15 [INFO] [stdout] | [INFO] [stdout] 1155 | match (*plinelist).0.get(pos) { [INFO] [stdout] | ^^---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const cavc_plinelist` [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: `&[*mut cavc_pline]` [INFO] [stdout] --> src/lib.rs:1155:15 [INFO] [stdout] | [INFO] [stdout] 1155 | match (*plinelist).0.get(pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/slice/mod.rs:571:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1155 | match (&(*plinelist).0).get(pos) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cavalier_contours_ffi` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cavalier_contours_ffi` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f1c742567ff32d335b18d3dc3391e46e1fb451710844ec08513c70cdaadcb6fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c742567ff32d335b18d3dc3391e46e1fb451710844ec08513c70cdaadcb6fd", kill_on_drop: false }` [INFO] [stdout] f1c742567ff32d335b18d3dc3391e46e1fb451710844ec08513c70cdaadcb6fd