[INFO] cloning repository https://github.com/michalpomykacz/gcode-parser-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michalpomykacz/gcode-parser-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalpomykacz%2Fgcode-parser-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalpomykacz%2Fgcode-parser-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d957b63e14ddc99a340a3c851e3abd892a885bd [INFO] checking michalpomykacz/gcode-parser-core against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalpomykacz%2Fgcode-parser-core" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michalpomykacz/gcode-parser-core [INFO] finished tweaking git repo https://github.com/michalpomykacz/gcode-parser-core [INFO] tweaked toml for git repo https://github.com/michalpomykacz/gcode-parser-core written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michalpomykacz/gcode-parser-core on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michalpomykacz/gcode-parser-core 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heatshrink v0.2.0 [INFO] [stderr] Downloaded pyo3-build-config v0.23.4 [INFO] [stderr] Downloaded pyo3-macros v0.23.4 [INFO] [stderr] Downloaded pyo3-macros-backend v0.23.4 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded pyo3-ffi v0.23.4 [INFO] [stderr] Downloaded portable-atomic v1.10.0 [INFO] [stderr] Downloaded pyo3 v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfb1ccef186412d0783b135ae17d1c4aee702c625e0f1ee1075d8c08ac156f00 [INFO] running `Command { std: "docker" "start" "-a" "cfb1ccef186412d0783b135ae17d1c4aee702c625e0f1ee1075d8c08ac156f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb1ccef186412d0783b135ae17d1c4aee702c625e0f1ee1075d8c08ac156f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb1ccef186412d0783b135ae17d1c4aee702c625e0f1ee1075d8c08ac156f00", kill_on_drop: false }` [INFO] [stdout] cfb1ccef186412d0783b135ae17d1c4aee702c625e0f1ee1075d8c08ac156f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe04d4006b492f68cebcb87fa76a25e3100ccbaaae6258dd8fa751c538ac57f2 [INFO] running `Command { std: "docker" "start" "-a" "fe04d4006b492f68cebcb87fa76a25e3100ccbaaae6258dd8fa751c538ac57f2", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking heatshrink v0.2.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling pyo3-build-config v0.23.4 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.4 [INFO] [stderr] Compiling pyo3-ffi v0.23.4 [INFO] [stderr] Compiling pyo3 v0.23.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pyo3-macros v0.23.4 [INFO] [stderr] Checking gcode-parser-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `BlockType` is never used [INFO] [stdout] --> src/decoder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BlockType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl BlockType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 19 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Checksum` is never used [INFO] [stdout] --> src/decoder.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Checksum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Checksum { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 39 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Compression` is never used [INFO] [stdout] --> src/decoder.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Compression { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 57 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImageFormat` is never used [INFO] [stdout] --> src/decoder.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum ImageFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl ImageFormat { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 76 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct FileMetadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GCode` is never constructed [INFO] [stdout] --> src/decoder.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct GCode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlicerMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct SlicerMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrinterMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct PrinterMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrintMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct PrintMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thumbnail` is never constructed [INFO] [stdout] --> src/decoder.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Thumbnail { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecodeError` is never used [INFO] [stdout] --> src/decoder.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum DecodeError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_u16` is never used [INFO] [stdout] --> src/decoder.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn read_u16(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_u32` is never used [INFO] [stdout] --> src/decoder.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn read_u32(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata` is never used [INFO] [stdout] --> src/decoder.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_metadata(data: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/decoder.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn decode(mut reader: R) -> Result>, DecodeError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockType` is never used [INFO] [stdout] --> src/decoder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BlockType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl BlockType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 19 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Checksum` is never used [INFO] [stdout] --> src/decoder.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Checksum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Checksum { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 39 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Compression` is never used [INFO] [stdout] --> src/decoder.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Compression { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 57 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImageFormat` is never used [INFO] [stdout] --> src/decoder.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum ImageFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u16` is never used [INFO] [stdout] --> src/decoder.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl ImageFormat { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 76 | fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct FileMetadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GCode` is never constructed [INFO] [stdout] --> src/decoder.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct GCode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlicerMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct SlicerMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrinterMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct PrinterMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrintMetadata` is never constructed [INFO] [stdout] --> src/decoder.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct PrintMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thumbnail` is never constructed [INFO] [stdout] --> src/decoder.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Thumbnail { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecodeError` is never used [INFO] [stdout] --> src/decoder.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum DecodeError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_u16` is never used [INFO] [stdout] --> src/decoder.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn read_u16(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_u32` is never used [INFO] [stdout] --> src/decoder.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn read_u32(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata` is never used [INFO] [stdout] --> src/decoder.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_metadata(data: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/decoder.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn decode(mut reader: R) -> Result>, DecodeError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.05s [INFO] running `Command { std: "docker" "inspect" "fe04d4006b492f68cebcb87fa76a25e3100ccbaaae6258dd8fa751c538ac57f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe04d4006b492f68cebcb87fa76a25e3100ccbaaae6258dd8fa751c538ac57f2", kill_on_drop: false }` [INFO] [stdout] fe04d4006b492f68cebcb87fa76a25e3100ccbaaae6258dd8fa751c538ac57f2