[INFO] cloning repository https://github.com/AtaGn/icp_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AtaGn/icp_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtaGn%2Ficp_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtaGn%2Ficp_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 842a3df4aa2c98a35cfb574a8b429fcfa5f003c9 [INFO] checking AtaGn/icp_Rust/842a3df4aa2c98a35cfb574a8b429fcfa5f003c9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtaGn%2Ficp_Rust" "/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/AtaGn/icp_Rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AtaGn/icp_Rust [INFO] finished tweaking git repo https://github.com/AtaGn/icp_Rust [INFO] tweaked toml for git repo https://github.com/AtaGn/icp_Rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AtaGn/icp_Rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded qrcode-generator v4.1.9 [INFO] [stderr] Downloaded candid_derive v0.6.5 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] [stderr] Downloaded qrcodegen v1.8.0 [INFO] [stderr] Downloaded candid v0.10.3 [INFO] [stderr] Downloaded ic-cdk-timers v0.6.0 [INFO] [stderr] Downloaded png v0.17.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8065cdd5f7e5eb2a899800f80c20c595aeef016f66499db14f16cbf37085f9e6 [INFO] running `Command { std: "docker" "start" "-a" "8065cdd5f7e5eb2a899800f80c20c595aeef016f66499db14f16cbf37085f9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8065cdd5f7e5eb2a899800f80c20c595aeef016f66499db14f16cbf37085f9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8065cdd5f7e5eb2a899800f80c20c595aeef016f66499db14f16cbf37085f9e6", kill_on_drop: false }` [INFO] [stdout] 8065cdd5f7e5eb2a899800f80c20c595aeef016f66499db14f16cbf37085f9e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4be4c1a8a89f2c3b27554d364ce5bd84aee46cca8758e6fb6d79886dc7c9f434 [INFO] running `Command { std: "docker" "start" "-a" "4be4c1a8a89f2c3b27554d364ce5bd84aee46cca8758e6fb6d79886dc7c9f434", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking png v0.17.12 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking qrcodegen v1.8.0 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking qrcode-generator v4.1.9 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking csscolorparser v0.6.2 [INFO] [stderr] Checking colorgrad v0.6.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.3 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.12.1 [INFO] [stderr] Checking ic-cdk-timers v0.6.0 [INFO] [stderr] Checking qrcode_backend v0.1.0 (/opt/rustwide/workdir/src/qrcode_backend) [INFO] [stdout] error: couldn't read `/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_transparent.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | const LOGO_TRANSPARENT: &[u8] = include_bytes!("/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_transparent.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_transparent.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | const LOGO_TRANSPARENT: &[u8] = include_bytes!("/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_transparent.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_white.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | const LOGO_WHITE: &[u8] = include_bytes!("/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_white.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_white.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | const LOGO_WHITE: &[u8] = include_bytes!("/home/ata/Documents/projects/qrcode/src/qrcode_backend/src/assets/logo_white.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fs, include_bytes, io}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fs, include_bytes, io}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: CandidType` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | error_correction_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 109 others [INFO] [stdout] = note: required for `std::option::Option` to implement `CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: CandidType` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | error_correction_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 109 others [INFO] [stdout] = note: required for `std::option::Option` to implement `CandidType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: CandidType` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ the trait `CandidType` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 109 others [INFO] [stdout] = note: required for `std::option::Option` to implement `CandidType` [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.3/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: CandidType` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ the trait `CandidType` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: CandidType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 109 others [INFO] [stdout] = note: required for `std::option::Option` to implement `CandidType` [INFO] [stdout] note: required by a bound in `candid::types::Compound::serialize_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/candid-0.10.3/src/types/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn serialize_element(&mut self, v: &T) -> Result<(), Self::Error> [INFO] [stdout] | ----------------- required by a bound in this associated function [INFO] [stdout] 98 | where [INFO] [stdout] 99 | T: CandidType; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Compound::serialize_element` [INFO] [stdout] = note: this error originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | error_correction_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 193 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | error_correction_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 193 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | error_correction_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 193 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/de/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1863 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1864 | where [INFO] [stdout] 1865 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | error_correction_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 193 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/de/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1863 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1864 | where [INFO] [stdout] 1865 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 193 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `QrCodeEcc`, which is required by `std::option::Option: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 193 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.196/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: std::default::Default` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | let error_correction_level = options.error_correction_level.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `QrCodeEcc` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::option::Option::::unwrap_or_default` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:1037:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let result = match core::generate(input, options, logo, IMAGE_SIZE_IN_PIXELS, error_correction_level) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------------------- unexpected argument #5 of type `QrCodeEcc` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/qrcode_backend/src/core.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) fn generate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | input: String, [INFO] [stdout] | ------------- [INFO] [stdout] 11 | options: Options, [INFO] [stdout] | ---------------- [INFO] [stdout] 12 | logo: &[u8], [INFO] [stdout] | ----------- [INFO] [stdout] 13 | image_size: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - let result = match core::generate(input, options, logo, IMAGE_SIZE_IN_PIXELS, error_correction_level) { [INFO] [stdout] 45 + let result = match core::generate(input, options, logo, IMAGE_SIZE_IN_PIXELS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QrCodeEcc: std::default::Default` is not satisfied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | let error_correction_level = options.error_correction_level.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `QrCodeEcc` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::option::Option::::unwrap_or_default` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:1037:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> src/qrcode_backend/src/lib.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let result = match core::generate(input, options, logo, IMAGE_SIZE_IN_PIXELS, error_correction_level) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------------------- unexpected argument #5 of type `QrCodeEcc` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/qrcode_backend/src/core.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) fn generate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | input: String, [INFO] [stdout] | ------------- [INFO] [stdout] 11 | options: Options, [INFO] [stdout] | ---------------- [INFO] [stdout] 12 | logo: &[u8], [INFO] [stdout] | ----------- [INFO] [stdout] 13 | image_size: usize, [INFO] [stdout] | ----------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - let result = match core::generate(input, options, logo, IMAGE_SIZE_IN_PIXELS, error_correction_level) { [INFO] [stdout] 45 + let result = match core::generate(input, options, logo, IMAGE_SIZE_IN_PIXELS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qrcode_backend` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `qrcode_backend` (lib) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4be4c1a8a89f2c3b27554d364ce5bd84aee46cca8758e6fb6d79886dc7c9f434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be4c1a8a89f2c3b27554d364ce5bd84aee46cca8758e6fb6d79886dc7c9f434", kill_on_drop: false }` [INFO] [stdout] 4be4c1a8a89f2c3b27554d364ce5bd84aee46cca8758e6fb6d79886dc7c9f434