[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 master#9e293ae9f8abecb0be5105787d181518c9012a19 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-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/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FractalFir/spyalloc on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b87c607b754c2a93443429edc95b21bd021f80107481b37e288577a83bdfa636 [INFO] running `Command { std: "docker" "start" "-a" "b87c607b754c2a93443429edc95b21bd021f80107481b37e288577a83bdfa636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87c607b754c2a93443429edc95b21bd021f80107481b37e288577a83bdfa636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87c607b754c2a93443429edc95b21bd021f80107481b37e288577a83bdfa636", kill_on_drop: false }` [INFO] [stdout] b87c607b754c2a93443429edc95b21bd021f80107481b37e288577a83bdfa636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6d4298f91acdf5c41ab6910061ee3faec2e59baffb6cd80f521d48259c9cc0 [INFO] running `Command { std: "docker" "start" "-a" "6b6d4298f91acdf5c41ab6910061ee3faec2e59baffb6cd80f521d48259c9cc0", 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 memchr v2.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.1 [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: 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: `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: 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] 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] 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] For more information about this error, try `rustc --explain E0133`. [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] 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/graph/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | mut start: u64, [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: unused variable: `event` [INFO] [stdout] --> src/bin/graph/main.rs:183:37 [INFO] [stdout] | [INFO] [stdout] 183 | let res = parse_res(&mut file, |event, state| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mesh_len` is never used [INFO] [stdout] --> src/bin/graph/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Mesh { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | fn mesh_len(&self)->usize{ [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 `depth` is never read [INFO] [stdout] --> src/bin/graph/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct MeshGenerator{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshGenerator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/graph/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | mut start: u64, [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: unused variable: `event` [INFO] [stdout] --> src/bin/graph/main.rs:183:37 [INFO] [stdout] | [INFO] [stdout] 183 | let res = parse_res(&mut file, |event, state| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mesh_len` is never used [INFO] [stdout] --> src/bin/graph/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Mesh { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | fn mesh_len(&self)->usize{ [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 `depth` is never read [INFO] [stdout] --> src/bin/graph/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct MeshGenerator{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshGenerator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "6b6d4298f91acdf5c41ab6910061ee3faec2e59baffb6cd80f521d48259c9cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6d4298f91acdf5c41ab6910061ee3faec2e59baffb6cd80f521d48259c9cc0", kill_on_drop: false }` [INFO] [stdout] 6b6d4298f91acdf5c41ab6910061ee3faec2e59baffb6cd80f521d48259c9cc0