[INFO] fetching crate qrosity 0.1.1... [INFO] testing qrosity-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate qrosity 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate qrosity 0.1.1 [INFO] finished tweaking crates.io crate qrosity 0.1.1 [INFO] tweaked toml for crates.io crate qrosity 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qrosity 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qrosity 0.1.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 391545d6b05c9c830efc1d565fdc40c5ed9b8ffd6610ae5f18591976db415068 [INFO] running `Command { std: "docker" "start" "-a" "391545d6b05c9c830efc1d565fdc40c5ed9b8ffd6610ae5f18591976db415068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "391545d6b05c9c830efc1d565fdc40c5ed9b8ffd6610ae5f18591976db415068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "391545d6b05c9c830efc1d565fdc40c5ed9b8ffd6610ae5f18591976db415068", kill_on_drop: false }` [INFO] [stdout] 391545d6b05c9c830efc1d565fdc40c5ed9b8ffd6610ae5f18591976db415068 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5ad5b22ee3504a483af021f8d683ba9feb086c330ac5928b146f62c926fedb1 [INFO] running `Command { std: "docker" "start" "-a" "e5ad5b22ee3504a483af021f8d683ba9feb086c330ac5928b146f62c926fedb1", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling gif v0.14.0 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling qrosity v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling svg v0.18.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling zune-jpeg v0.5.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.30 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stdout] warning: associated items `encode_text`, `encode_binary`, `encode_segments`, `version`, `error_correction_level`, and `mask` are never used [INFO] [stdout] --> src/core/qrgen.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 148 | impl QrCode { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn encode_binary(data: &[u8], ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn encode_segments(segs: &[QrSegment], ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn version(&self) -> Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn mask(&self) -> Mask { [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 items `make_eci`, `mode`, `num_chars`, and `data` are never used [INFO] [stdout] --> src/core/qrgen.rs:1044:9 [INFO] [stdout] | [INFO] [stdout] 969 | impl QrSegment { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1044 | pub fn make_eci(assignval: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1075 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1081 | pub fn num_chars(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1087 | pub fn data(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stdout] --> src/core/qrgen.rs:1146:2 [INFO] [stdout] | [INFO] [stdout] 1142 | pub enum QrSegmentMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1146 | Kanji, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1147 | Eci, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.74s [INFO] running `Command { std: "docker" "inspect" "e5ad5b22ee3504a483af021f8d683ba9feb086c330ac5928b146f62c926fedb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ad5b22ee3504a483af021f8d683ba9feb086c330ac5928b146f62c926fedb1", kill_on_drop: false }` [INFO] [stdout] e5ad5b22ee3504a483af021f8d683ba9feb086c330ac5928b146f62c926fedb1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1611e8f728ada53060f1138893ab881a0a8a36d261de13a9252f1f9239e6c834 [INFO] running `Command { std: "docker" "start" "-a" "1611e8f728ada53060f1138893ab881a0a8a36d261de13a9252f1f9239e6c834", kill_on_drop: false }` [INFO] [stdout] warning: associated items `encode_text`, `encode_binary`, `encode_segments`, `version`, `error_correction_level`, and `mask` are never used [INFO] [stdout] --> src/core/qrgen.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 148 | impl QrCode { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn encode_binary(data: &[u8], ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn encode_segments(segs: &[QrSegment], ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn version(&self) -> Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn mask(&self) -> Mask { [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 items `make_eci`, `mode`, `num_chars`, and `data` are never used [INFO] [stdout] --> src/core/qrgen.rs:1044:9 [INFO] [stdout] | [INFO] [stdout] 969 | impl QrSegment { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1044 | pub fn make_eci(assignval: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1075 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1081 | pub fn num_chars(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1087 | pub fn data(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stdout] --> src/core/qrgen.rs:1146:2 [INFO] [stdout] | [INFO] [stdout] 1142 | pub enum QrSegmentMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1146 | Kanji, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1147 | Eci, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qrosity v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `encode_text`, `encode_binary`, `encode_segments`, `version`, `error_correction_level`, and `mask` are never used [INFO] [stdout] --> src/core/qrgen.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 148 | impl QrCode { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn encode_binary(data: &[u8], ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn encode_segments(segs: &[QrSegment], ecl: QrCodeEcc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn version(&self) -> Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn mask(&self) -> Mask { [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 items `make_eci`, `mode`, `num_chars`, and `data` are never used [INFO] [stdout] --> src/core/qrgen.rs:1044:9 [INFO] [stdout] | [INFO] [stdout] 969 | impl QrSegment { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1044 | pub fn make_eci(assignval: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1075 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1081 | pub fn num_chars(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1087 | pub fn data(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stdout] --> src/core/qrgen.rs:1146:2 [INFO] [stdout] | [INFO] [stdout] 1142 | pub enum QrSegmentMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1146 | Kanji, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1147 | Eci, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "1611e8f728ada53060f1138893ab881a0a8a36d261de13a9252f1f9239e6c834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1611e8f728ada53060f1138893ab881a0a8a36d261de13a9252f1f9239e6c834", kill_on_drop: false }` [INFO] [stdout] 1611e8f728ada53060f1138893ab881a0a8a36d261de13a9252f1f9239e6c834 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c617e4ab76ab00dd53a6bf9987bb55795df8b365f3e9a896d83780451809a62 [INFO] running `Command { std: "docker" "start" "-a" "2c617e4ab76ab00dd53a6bf9987bb55795df8b365f3e9a896d83780451809a62", kill_on_drop: false }` [INFO] [stderr] warning: associated items `encode_text`, `encode_binary`, `encode_segments`, `version`, `error_correction_level`, and `mask` are never used [INFO] [stderr] --> src/core/qrgen.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 148 | impl QrCode { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | pub fn encode_binary(data: &[u8], ecl: QrCodeEcc) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | pub fn encode_segments(segs: &[QrSegment], ecl: QrCodeEcc) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 333 | pub fn version(&self) -> Version { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 345 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 351 | pub fn mask(&self) -> Mask { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `make_eci`, `mode`, `num_chars`, and `data` are never used [INFO] [stderr] --> src/core/qrgen.rs:1044:9 [INFO] [stderr] | [INFO] [stderr] 969 | impl QrSegment { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 1044 | pub fn make_eci(assignval: u32) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1075 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 1081 | pub fn num_chars(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1087 | pub fn data(&self) -> &Vec { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stderr] --> src/core/qrgen.rs:1146:2 [INFO] [stderr] | [INFO] [stderr] 1142 | pub enum QrSegmentMode { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 1146 | Kanji, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1147 | Eci, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `qrosity` (lib) generated 3 warnings [INFO] [stderr] warning: `qrosity` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qrosity-61d8e33ddf095892) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/qrosity-0503e564b829367d) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests qrosity [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/core/qrgen.rs - core::qrgen (line 56) ... FAILED [INFO] [stdout] test src/core/qrgen.rs - core::qrgen (line 75) ... FAILED [INFO] [stdout] test src/core/qrgen.rs - core::qrgen (line 67) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/core/qrgen.rs - core::qrgen (line 56) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `qrcodegen` [INFO] [stdout] --> src/core/qrgen.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | extern crate qrcodegen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/qrgen.rs - core::qrgen (line 75) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/core/qrgen.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 82 - (... paint qr.get_module(x, y) ...) [INFO] [stdout] 82 + (.. paint qr.get_module(x, y) ...) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 82 - (... paint qr.get_module(x, y) ...) [INFO] [stdout] 82 + (..= paint qr.get_module(x, y) ...) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/core/qrgen.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 82 - (... paint qr.get_module(x, y) ...) [INFO] [stdout] 82 + (... paint qr.get_module(x, y) ..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 82 - (... paint qr.get_module(x, y) ...) [INFO] [stdout] 82 + (... paint qr.get_module(x, y) ..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/core/qrgen.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 82 - (... paint qr.get_module(x, y) ...) [INFO] [stdout] 82 + (... paint qr.get_module(x, y) ..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `qr` [INFO] [stdout] --> src/core/qrgen.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | -^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `QrCodeEcc` in this scope [INFO] [stdout] --> src/core/qrgen.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrCodeEcc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 75 + use qrosity::core::QrCodeEcc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mask` in this scope [INFO] [stdout] --> src/core/qrgen.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mask` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 75 + use std::simd::Mask; [INFO] [stdout] | [INFO] [stdout] 75 + use svg::node::element::Mask; [INFO] [stdout] | [INFO] [stdout] 75 + use tiny_skia::Mask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `paint` in this scope [INFO] [stdout] --> src/core/qrgen.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `QrSegment` in this scope [INFO] [stdout] --> src/core/qrgen.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | let segs = QrSegment::make_segments(text); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrSegment` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `QrCode` in this scope [INFO] [stdout] --> src/core/qrgen.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, [INFO] [stdout] | ^^^^^^ use of undeclared type `QrCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Version` in this scope [INFO] [stdout] --> src/core/qrgen.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `clap::ArgAction::Version`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 79 - Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] 79 + clap::ArgAction::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Version` in this scope [INFO] [stdout] --> src/core/qrgen.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `clap::ArgAction::Version`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 79 - Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] 79 + Version::new(5), clap::ArgAction::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/qrgen.rs - core::qrgen (line 67) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `QrCodeEcc` in this scope [INFO] [stdout] --> src/core/qrgen.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | QrCodeEcc::Medium).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrCodeEcc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 67 + use qrosity::core::QrCodeEcc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `QrCode` in this scope [INFO] [stdout] --> src/core/qrgen.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | let qr = QrCode::encode_text("Hello, world!", [INFO] [stdout] | ^^^^^^ use of undeclared type `QrCode` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_svg_string` in this scope [INFO] [stdout] --> src/core/qrgen.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | let svg = to_svg_string(&qr, 4); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/core/qrgen.rs - core::qrgen (line 56) [INFO] [stdout] src/core/qrgen.rs - core::qrgen (line 67) [INFO] [stdout] src/core/qrgen.rs - core::qrgen (line 75) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.43s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2c617e4ab76ab00dd53a6bf9987bb55795df8b365f3e9a896d83780451809a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c617e4ab76ab00dd53a6bf9987bb55795df8b365f3e9a896d83780451809a62", kill_on_drop: false }` [INFO] [stdout] 2c617e4ab76ab00dd53a6bf9987bb55795df8b365f3e9a896d83780451809a62