[INFO] cloning repository https://github.com/John-Kry/pngme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/John-Kry/pngme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn-Kry%2Fpngme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn-Kry%2Fpngme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ed7e4dab65972c6abce858aff791b301503a972 [INFO] checking John-Kry/pngme against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn-Kry%2Fpngme" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/John-Kry/pngme on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/John-Kry/pngme [INFO] finished tweaking git repo https://github.com/John-Kry/pngme [INFO] tweaked toml for git repo https://github.com/John-Kry/pngme written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/John-Kry/pngme 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b42420baa0a12ba48e5f2d06d91623e94e3c6de11ed5c4cb928935b61161073 [INFO] running `Command { std: "docker" "start" "-a" "2b42420baa0a12ba48e5f2d06d91623e94e3c6de11ed5c4cb928935b61161073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b42420baa0a12ba48e5f2d06d91623e94e3c6de11ed5c4cb928935b61161073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b42420baa0a12ba48e5f2d06d91623e94e3c6de11ed5c4cb928935b61161073", kill_on_drop: false }` [INFO] [stdout] 2b42420baa0a12ba48e5f2d06d91623e94e3c6de11ed5c4cb928935b61161073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e4054a05418155c15c79b376f428372222ea0455711981ca3f53fc04dada8e [INFO] running `Command { std: "docker" "start" "-a" "73e4054a05418155c15c79b376f428372222ea0455711981ca3f53fc04dada8e", kill_on_drop: false }` [INFO] [stderr] Checking crc-catalog v2.2.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/chunk.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChunkType` is imported redundantly [INFO] [stdout] --> src/png.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | use super::*; [INFO] [stdout] | -------- the item `ChunkType` is already imported here [INFO] [stdout] 79 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Chunk` is imported redundantly [INFO] [stdout] --> src/png.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | use super::*; [INFO] [stdout] | -------- the item `Chunk` is already imported here [INFO] [stdout] 79 | use crate::chunk_type::ChunkType; [INFO] [stdout] 80 | use crate::chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `data_as_string`, and `as_bytes` are never used [INFO] [stdout] --> src/chunk.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 27 | pub(crate) fn new(chunk_type: ChunkType, data:Vec) ->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn data_as_string(&self)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn as_bytes(&self)->Vec{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_critical`, `is_public`, `is_bit_on_at`, `is_valid`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChunkType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_critical(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn is_public(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn is_bit_on_at(val:u8, bit:u8)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn is_valid(&self)->bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn is_reserved_bit_valid(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_safe_to_copy(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chunks`, `chunks`, `chunk_by_type`, `append_chunk`, `remove_chunk`, and `as_bytes` are never used [INFO] [stdout] --> src/png.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Png{ [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub const STANDARD_HEADER: [u8;8] = [137, 80, 78, 71, 13, 10, 26, 10]; [INFO] [stdout] 12 | pub fn from_chunks(chunks: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn append_chunk(&mut self, chunk: Chunk) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn remove_chunk(&mut self, chunk_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "73e4054a05418155c15c79b376f428372222ea0455711981ca3f53fc04dada8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e4054a05418155c15c79b376f428372222ea0455711981ca3f53fc04dada8e", kill_on_drop: false }` [INFO] [stdout] 73e4054a05418155c15c79b376f428372222ea0455711981ca3f53fc04dada8e [INFO] checking John-Kry/pngme against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohn-Kry%2Fpngme" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/John-Kry/pngme on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/John-Kry/pngme [INFO] finished tweaking git repo https://github.com/John-Kry/pngme [INFO] tweaked toml for git repo https://github.com/John-Kry/pngme written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/John-Kry/pngme 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b739a72bf8b18c9fb1c5d4c754c01df4f2b461b21fd1c30985f341a8342a9be [INFO] running `Command { std: "docker" "start" "-a" "2b739a72bf8b18c9fb1c5d4c754c01df4f2b461b21fd1c30985f341a8342a9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b739a72bf8b18c9fb1c5d4c754c01df4f2b461b21fd1c30985f341a8342a9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b739a72bf8b18c9fb1c5d4c754c01df4f2b461b21fd1c30985f341a8342a9be", kill_on_drop: false }` [INFO] [stdout] 2b739a72bf8b18c9fb1c5d4c754c01df4f2b461b21fd1c30985f341a8342a9be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48eb543c7929010f13aa285e2b5d2a0f9d1548c94134883a1d420131041eef89 [INFO] running `Command { std: "docker" "start" "-a" "48eb543c7929010f13aa285e2b5d2a0f9d1548c94134883a1d420131041eef89", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking crc-catalog v2.2.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking pngme v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/chunk.rs (1 fix) [INFO] [stdout] warning: associated items `new`, `data_as_string`, and `as_bytes` are never used [INFO] [stdout] --> src/chunk.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 26 | pub(crate) fn new(chunk_type: ChunkType, data:Vec) ->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn data_as_string(&self)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn as_bytes(&self)->Vec{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_critical`, `is_public`, `is_bit_on_at`, `is_valid`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChunkType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_critical(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn is_public(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn is_bit_on_at(val:u8, bit:u8)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn is_valid(&self)->bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn is_reserved_bit_valid(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_safe_to_copy(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chunks`, `chunks`, `chunk_by_type`, `append_chunk`, `remove_chunk`, and `as_bytes` are never used [INFO] [stdout] --> src/png.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Png{ [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub const STANDARD_HEADER: [u8;8] = [137, 80, 78, 71, 13, 10, 26, 10]; [INFO] [stdout] 12 | pub fn from_chunks(chunks: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn append_chunk(&mut self, chunk: Chunk) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn remove_chunk(&mut self, chunk_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChunkType` is imported redundantly [INFO] [stdout] --> src/png.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | use super::*; [INFO] [stdout] | -------- the item `ChunkType` is already imported here [INFO] [stdout] 79 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Chunk` is imported redundantly [INFO] [stdout] --> src/png.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | use super::*; [INFO] [stdout] | -------- the item `Chunk` is already imported here [INFO] [stdout] 79 | use crate::chunk_type::ChunkType; [INFO] [stdout] 80 | use crate::chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `chunk_type::ChunkType` in the current scope [INFO] [stdout] --> src/chunk.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let chunk_type = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk_type.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ChunkType { [INFO] [stdout] | --------------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 95 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 117 | let chunk_type = ChunkType::from("RuSt").unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pngme` (bin "pngme" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "48eb543c7929010f13aa285e2b5d2a0f9d1548c94134883a1d420131041eef89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48eb543c7929010f13aa285e2b5d2a0f9d1548c94134883a1d420131041eef89", kill_on_drop: false }` [INFO] [stdout] 48eb543c7929010f13aa285e2b5d2a0f9d1548c94134883a1d420131041eef89