[INFO] cloning repository https://github.com/overoxidize/png-dec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overoxidize/png-dec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Fpng-dec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Fpng-dec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 767b212d47ee888ef4786e0a9d195490efdeb113 [INFO] checking overoxidize/png-dec against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Fpng-dec" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overoxidize/png-dec on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/overoxidize/png-dec [INFO] finished tweaking git repo https://github.com/overoxidize/png-dec [INFO] tweaked toml for git repo https://github.com/overoxidize/png-dec written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/overoxidize/png-dec 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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking overoxidize/png-dec against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Fpng-dec" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overoxidize/png-dec on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/overoxidize/png-dec [INFO] finished tweaking git repo https://github.com/overoxidize/png-dec [INFO] tweaked toml for git repo https://github.com/overoxidize/png-dec written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/overoxidize/png-dec 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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d344e8cdcb32b52a5b13110e7c740550ce4baf86e860fedf4c4896d132494ef1 [INFO] running `Command { std: "docker" "start" "-a" "d344e8cdcb32b52a5b13110e7c740550ce4baf86e860fedf4c4896d132494ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d344e8cdcb32b52a5b13110e7c740550ce4baf86e860fedf4c4896d132494ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d344e8cdcb32b52a5b13110e7c740550ce4baf86e860fedf4c4896d132494ef1", kill_on_drop: false }` [INFO] [stdout] d344e8cdcb32b52a5b13110e7c740550ce4baf86e860fedf4c4896d132494ef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f64b2695eeb46350b4de5abfbc4de7347b59637e543aa266dae505cb52c762 [INFO] running `Command { std: "docker" "start" "-a" "75f64b2695eeb46350b4de5abfbc4de7347b59637e543aa266dae505cb52c762", kill_on_drop: false }` [INFO] [stderr] Checking png-dec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `try_from` [INFO] [stdout] --> src/chunk_type.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | impl TryFrom<[u8; 4]> for ChunkType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `try_from` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn try_from(_: [u8; 4]) -> std::result::Result>::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `png-dec` (bin "png-dec") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `try_from` [INFO] [stdout] --> src/chunk_type.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | impl TryFrom<[u8; 4]> for ChunkType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `try_from` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn try_from(_: [u8; 4]) -> std::result::Result>::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `chunk_type::ChunkType` in the current scope [INFO] [stdout] --> src/chunk_type.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- method `bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | assert_eq!(expected, actual.bytes()); [INFO] [stdout] | ^^^^^ method not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [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_type.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let actual = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let chunk = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | let chunk = ChunkType::from_str("ruSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 56 | let chunk = ChunkType::from_str("RUSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | let chunk = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | let chunk = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 74 | let chunk = ChunkType::from_str("Rust").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | let chunk = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | let chunk = ChunkType::from_str("RuST").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 92 | let chunk = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let chunk = ChunkType::from_str("Rust").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | let chunk = ChunkType::from_str("Ru1t"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [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_type.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 5 | struct ChunkType { [INFO] [stdout] | ---------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 107 | let chunk = ChunkType::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk_type::ChunkType: FromStr` is not satisfied [INFO] [stdout] --> src/chunk_type.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | let chunk_type_2: ChunkType = FromStr::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `chunk_type::ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] bool [INFO] [stdout] char [INFO] [stdout] isize [INFO] [stdout] i8 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i128 [INFO] [stdout] and 29 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk_type::ChunkType: FromStr` is not satisfied [INFO] [stdout] --> src/chunk_type.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | let chunk_type_2: ChunkType = FromStr::from_str("RuSt").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `chunk_type::ChunkType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] bool [INFO] [stdout] char [INFO] [stdout] isize [INFO] [stdout] i8 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i128 [INFO] [stdout] and 29 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `chunk_type::ChunkType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/chunk_type.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | let _chunk_string = format!("{}", chunk_type_1); [INFO] [stdout] | ^^^^^^^^^^^^ `chunk_type::ChunkType` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `chunk_type::ChunkType` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `png-dec` (bin "png-dec" test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "75f64b2695eeb46350b4de5abfbc4de7347b59637e543aa266dae505cb52c762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f64b2695eeb46350b4de5abfbc4de7347b59637e543aa266dae505cb52c762", kill_on_drop: false }` [INFO] [stdout] 75f64b2695eeb46350b4de5abfbc4de7347b59637e543aa266dae505cb52c762