[INFO] fetching crate qrcodegen 1.6.0... [INFO] testing qrcodegen-1.6.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate qrcodegen 1.6.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate qrcodegen 1.6.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qrcodegen 1.6.0 [INFO] finished tweaking crates.io crate qrcodegen 1.6.0 [INFO] tweaked toml for crates.io crate qrcodegen 1.6.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate qrcodegen 1.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827b5706c99b04d003852588ee2796600d7b3d26453ff38dff5e8a669da3fb27 [INFO] running `Command { std: "docker" "start" "-a" "827b5706c99b04d003852588ee2796600d7b3d26453ff38dff5e8a669da3fb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827b5706c99b04d003852588ee2796600d7b3d26453ff38dff5e8a669da3fb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827b5706c99b04d003852588ee2796600d7b3d26453ff38dff5e8a669da3fb27", kill_on_drop: false }` [INFO] [stdout] 827b5706c99b04d003852588ee2796600d7b3d26453ff38dff5e8a669da3fb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add539a659f323ee4fc52125d5d19ae087fa6c21d1df5112803e0a6db5ff1eef [INFO] running `Command { std: "docker" "start" "-a" "add539a659f323ee4fc52125d5d19ae087fa6c21d1df5112803e0a6db5ff1eef", kill_on_drop: false }` [INFO] [stderr] Compiling qrcodegen v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:866:3 [INFO] [stdout] | [INFO] [stdout] 866 | / ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 867 | | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n)) [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 | i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 867 | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QrCode_MIN_VERSION` should have an upper case name [INFO] [stdout] --> src/lib.rs:888:11 [INFO] [stdout] | [INFO] [stdout] 888 | pub const QrCode_MIN_VERSION: Version = Version( 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MIN_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QrCode_MAX_VERSION` should have an upper case name [INFO] [stdout] --> src/lib.rs:891:11 [INFO] [stdout] | [INFO] [stdout] 891 | pub const QrCode_MAX_VERSION: Version = Version(40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MAX_VERSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "add539a659f323ee4fc52125d5d19ae087fa6c21d1df5112803e0a6db5ff1eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add539a659f323ee4fc52125d5d19ae087fa6c21d1df5112803e0a6db5ff1eef", kill_on_drop: false }` [INFO] [stdout] add539a659f323ee4fc52125d5d19ae087fa6c21d1df5112803e0a6db5ff1eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b1200555c7e21ef90efc67b9979f22afce064f9795f93b181f63ccf04214fce [INFO] running `Command { std: "docker" "start" "-a" "1b1200555c7e21ef90efc67b9979f22afce064f9795f93b181f63ccf04214fce", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:866:3 [INFO] [stdout] | [INFO] [stdout] 866 | / ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 867 | | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n)) [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 | i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 867 | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qrcodegen v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `QrCode_MIN_VERSION` should have an upper case name [INFO] [stdout] --> src/lib.rs:888:11 [INFO] [stdout] | [INFO] [stdout] 888 | pub const QrCode_MIN_VERSION: Version = Version( 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MIN_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QrCode_MAX_VERSION` should have an upper case name [INFO] [stdout] --> src/lib.rs:891:11 [INFO] [stdout] | [INFO] [stdout] 891 | pub const QrCode_MAX_VERSION: Version = Version(40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MAX_VERSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:866:3 [INFO] [stdout] | [INFO] [stdout] 866 | / ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 867 | | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n)) [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 | i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 867 | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QrCode_MIN_VERSION` should have an upper case name [INFO] [stdout] --> src/lib.rs:888:11 [INFO] [stdout] | [INFO] [stdout] 888 | pub const QrCode_MIN_VERSION: Version = Version( 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MIN_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QrCode_MAX_VERSION` should have an upper case name [INFO] [stdout] --> src/lib.rs:891:11 [INFO] [stdout] | [INFO] [stdout] 891 | pub const QrCode_MAX_VERSION: Version = Version(40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MAX_VERSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "1b1200555c7e21ef90efc67b9979f22afce064f9795f93b181f63ccf04214fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1200555c7e21ef90efc67b9979f22afce064f9795f93b181f63ccf04214fce", kill_on_drop: false }` [INFO] [stdout] 1b1200555c7e21ef90efc67b9979f22afce064f9795f93b181f63ccf04214fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc611c89d72763ff6ac40bc937132657709555a1a37980829f3b1cbbc5122e9f [INFO] running `Command { std: "docker" "start" "-a" "cc611c89d72763ff6ac40bc937132657709555a1a37980829f3b1cbbc5122e9f", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:866:3 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 866 | / ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 867 | | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n)) [INFO] [stdout] [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 866 | i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 867 | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `QrCode_MIN_VERSION` should have an upper case name [INFO] [stderr] --> src/lib.rs:888:11 [INFO] [stderr] | [INFO] [stderr] 888 | pub const QrCode_MIN_VERSION: Version = Version( 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MIN_VERSION` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `QrCode_MAX_VERSION` should have an upper case name [INFO] [stderr] --> src/lib.rs:891:11 [INFO] [stderr] | [INFO] [stderr] 891 | pub const QrCode_MAX_VERSION: Version = Version(40); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MAX_VERSION` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:866:3 [INFO] [stderr] | [INFO] [stderr] 866 | / ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 867 | | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n)) [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 866 | i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 867 | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `QrCode_MIN_VERSION` should have an upper case name [INFO] [stderr] --> src/lib.rs:888:11 [INFO] [stderr] | [INFO] [stderr] 888 | pub const QrCode_MIN_VERSION: Version = Version( 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MIN_VERSION` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `QrCode_MAX_VERSION` should have an upper case name [INFO] [stderr] --> src/lib.rs:891:11 [INFO] [stderr] | [INFO] [stderr] 891 | pub const QrCode_MAX_VERSION: Version = Version(40); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QR_CODE_MAX_VERSION` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/qrcodegen-860dc2008fdf92a3) [INFO] [stderr] Doc-tests qrcodegen [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:866:3 [INFO] [stderr] | [INFO] [stderr] 866 | / ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 867 | | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n)) [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 866 | i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 867 | + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 72) ... FAILED [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 72) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 9 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 | (.. paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 | (..= paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 9 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 | (... paint qr.get_module(x, y) ..) [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 | (... paint qr.get_module(x, y) ..=) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 9 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `qr` [INFO] [stdout] --> src/lib.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 9 | (... 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]: failed to resolve: use of undeclared type `QrSegment` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 4 | let segs = QrSegment::make_segments(&chrs); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrSegment` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QrCode` [INFO] [stdout] --> src/lib.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 5 | let qr = QrCode::encode_segments_advanced( [INFO] [stdout] | ^^^^^^ use of undeclared type `QrCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QrCodeEcc` [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 6 | &segs, QrCodeEcc::High, 5, 5, Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrCodeEcc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mask` [INFO] [stdout] --> src/lib.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 6 | &segs, QrCodeEcc::High, 5, 5, Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mask` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `paint` in this scope [INFO] [stdout] --> src/lib.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 9 | (... paint qr.get_module(x, y) ...) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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/lib.rs - (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QrCode` [INFO] [stdout] --> src/lib.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 3 | let qr = QrCode::encode_text("Hello, world!", [INFO] [stdout] | ^^^^^^ use of undeclared type `QrCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QrCodeEcc` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 4 | QrCodeEcc::Medium).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrCodeEcc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] src/lib.rs - (line 72) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cc611c89d72763ff6ac40bc937132657709555a1a37980829f3b1cbbc5122e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc611c89d72763ff6ac40bc937132657709555a1a37980829f3b1cbbc5122e9f", kill_on_drop: false }` [INFO] [stdout] cc611c89d72763ff6ac40bc937132657709555a1a37980829f3b1cbbc5122e9f