[INFO] cloning repository https://github.com/FractalFir/spyalloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FractalFir/spyalloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalFir%2Fspyalloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalFir%2Fspyalloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32084473455701798847dc2923a8224da674f3df [INFO] checking FractalFir/spyalloc against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalFir%2Fspyalloc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FractalFir/spyalloc [INFO] finished tweaking git repo https://github.com/FractalFir/spyalloc [INFO] tweaked toml for git repo https://github.com/FractalFir/spyalloc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FractalFir/spyalloc on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FractalFir/spyalloc 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9d6bd417c4b6e52eac7f638e73b5ecdaabe900c382d157e256d7483d8222c53 [INFO] running `Command { std: "docker" "start" "-a" "c9d6bd417c4b6e52eac7f638e73b5ecdaabe900c382d157e256d7483d8222c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9d6bd417c4b6e52eac7f638e73b5ecdaabe900c382d157e256d7483d8222c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d6bd417c4b6e52eac7f638e73b5ecdaabe900c382d157e256d7483d8222c53", kill_on_drop: false }` [INFO] [stdout] c9d6bd417c4b6e52eac7f638e73b5ecdaabe900c382d157e256d7483d8222c53 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05cb7b7eb59c9227864fe1cfea13fc6a3bc646d172666bf86b5ea217505d594f [INFO] running `Command { std: "docker" "start" "-a" "05cb7b7eb59c9227864fe1cfea13fc6a3bc646d172666bf86b5ea217505d594f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking spyalloc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `backtrace::Symbol` [INFO] [stdout] --> src/alloc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use backtrace::Symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/alloc.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | const SMALL_ENCODING_TOP: u32 = (1 << 12 - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 301 - const SMALL_ENCODING_TOP: u32 = (1 << 12 - 1); [INFO] [stdout] 301 + const SMALL_ENCODING_TOP: u32 = 1 << 12 - 1 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backtrace::Symbol` [INFO] [stdout] --> src/alloc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use backtrace::Symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/alloc.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | const SMALL_ENCODING_TOP: u32 = (1 << 12 - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 301 - const SMALL_ENCODING_TOP: u32 = (1 << 12 - 1); [INFO] [stdout] 301 + const SMALL_ENCODING_TOP: u32 = 1 << 12 - 1 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_get` has been stable since 1.94.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(allocator_api, lazy_get)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_get` has been stable since 1.94.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(allocator_api, lazy_get)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/bytecode.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/bytecode.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alloc.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut poped = reminder.min(16); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | self.deallocate(ptr, layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/alloc.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | None => self.alloc(Layout::from_size_align(new_size, layout.align()).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/alloc.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::grow` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | / self.grow( [INFO] [stdout] 354 | | ptr, [INFO] [stdout] 355 | | layout, [INFO] [stdout] 356 | | Layout::from_size_align(new_size, layout.align()).unwrap(), [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::shrink` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | / self.shrink( [INFO] [stdout] 362 | | ptr, [INFO] [stdout] 363 | | layout, [INFO] [stdout] 364 | | Layout::from_size_align(new_size, layout.align()).unwrap(), [INFO] [stdout] 365 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/alloc.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let ptr = unsafe { self.backer.allocate(layout) }?; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alloc.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut poped = reminder.min(16); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/alloc.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | let ptr = unsafe { self.backer.allocate_zeroed(layout) }?; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | self.deallocate(ptr, layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/alloc.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | None => self.alloc(Layout::from_size_align(new_size, layout.align()).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/alloc.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::grow` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | / self.grow( [INFO] [stdout] 354 | | ptr, [INFO] [stdout] 355 | | layout, [INFO] [stdout] 356 | | Layout::from_size_align(new_size, layout.align()).unwrap(), [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::Allocator::shrink` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | / self.shrink( [INFO] [stdout] 362 | | ptr, [INFO] [stdout] 363 | | layout, [INFO] [stdout] 364 | | Layout::from_size_align(new_size, layout.align()).unwrap(), [INFO] [stdout] 365 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/alloc.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let ptr = unsafe { self.backer.allocate(layout) }?; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/alloc.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | let ptr = unsafe { self.backer.allocate_zeroed(layout) }?; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zeroed` [INFO] [stdout] --> src/bytecode.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | zeroed, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `zeroed: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zeroed` [INFO] [stdout] --> src/bytecode.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | zeroed, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `zeroed: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BacktraceElem` is never constructed [INFO] [stdout] --> src/bytecode.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BacktraceElem<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `line`, `col`, and `symbol` are never read [INFO] [stdout] --> src/bytecode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BacktraceElem<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | symbol: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_packed` is never used [INFO] [stdout] --> src/bytecode.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Alignment { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn new_packed(packed: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lib.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | crate::bytecode::parse_res(&mut buff, |event, state| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lib.rs:123:61 [INFO] [stdout] | [INFO] [stdout] 123 | let res = crate::bytecode::parse_res(&mut buff, |event, state| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BacktraceElem` is never constructed [INFO] [stdout] --> src/bytecode.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BacktraceElem<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `line`, `col`, and `symbol` are never read [INFO] [stdout] --> src/bytecode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BacktraceElem<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | symbol: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_packed` is never used [INFO] [stdout] --> src/bytecode.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Alignment { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn new_packed(packed: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spyalloc` (lib) due to 1 previous error; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spyalloc` (lib test) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05cb7b7eb59c9227864fe1cfea13fc6a3bc646d172666bf86b5ea217505d594f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05cb7b7eb59c9227864fe1cfea13fc6a3bc646d172666bf86b5ea217505d594f", kill_on_drop: false }` [INFO] [stdout] 05cb7b7eb59c9227864fe1cfea13fc6a3bc646d172666bf86b5ea217505d594f