[INFO] cloning repository https://github.com/hexagonal-sun/rust-alignment-error [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hexagonal-sun/rust-alignment-error" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexagonal-sun%2Frust-alignment-error", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexagonal-sun%2Frust-alignment-error'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19f9760f387c705ab218e7fab57fc80f93539289 [INFO] checking hexagonal-sun/rust-alignment-error against c25253fac451fff60fb5b6c0b2c64d60f628c7cd for pr-160391 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexagonal-sun%2Frust-alignment-error" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hexagonal-sun/rust-alignment-error [INFO] finished tweaking git repo https://github.com/hexagonal-sun/rust-alignment-error [INFO] tweaked toml for git repo https://github.com/hexagonal-sun/rust-alignment-error written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hexagonal-sun/rust-alignment-error on toolchain c25253fac451fff60fb5b6c0b2c64d60f628c7cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c25253fac451fff60fb5b6c0b2c64d60f628c7cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hexagonal-sun/rust-alignment-error 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" "+c25253fac451fff60fb5b6c0b2c64d60f628c7cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663 [INFO] running `Command { std: "docker" "start" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663" "/opt/rustwide/cargo-home/bin/cargo" "+c25253fac451fff60fb5b6c0b2c64d60f628c7cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663" "/opt/rustwide/cargo-home/bin/cargo" "+c25253fac451fff60fb5b6c0b2c64d60f628c7cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking alignment-error v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `stack_class` is never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct HeapVisitor<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 39 | stack: Vec<(&'a Ast, Frame<'a>)>, [INFO] [stdout] 40 | stack_class: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack_class` is never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct HeapVisitor<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 39 | stack: Vec<(&'a Ast, Frame<'a>)>, [INFO] [stdout] 40 | stack_class: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Group` and `Alternation` are never constructed [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum Frame<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 44 | Group(&'a Group), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | Concat { head: &'a Ast, tail: &'a [Ast] }, [INFO] [stdout] 46 | Alternation { head: &'a Ast, tail: &'a [Ast] }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BinaryOp` is never constructed [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | enum ClassInduct<'a> { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 50 | BinaryOp(&'a ClassSetBinaryOp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Group` and `Alternation` are never constructed [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum Frame<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 44 | Group(&'a Group), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | Concat { head: &'a Ast, tail: &'a [Ast] }, [INFO] [stdout] 46 | Alternation { head: &'a Ast, tail: &'a [Ast] }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BinaryOp` is never constructed [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | enum ClassInduct<'a> { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 50 | BinaryOp(&'a ClassSetBinaryOp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | static mut PTR: *mut u8 = unsafe { MEM.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | static mut PTR: *mut u8 = unsafe { MEM.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663", kill_on_drop: false }` [INFO] [stdout] 14bd45d0e6cd04f28884b52d6a61708c64d2641c225f64335c7396e39c7b1663