[INFO] fetching crate qrforge 0.1.1... [INFO] testing qrforge-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate qrforge 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate qrforge 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate qrforge 0.1.1 [INFO] tweaked toml for crates.io crate qrforge 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qrforge 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qrforge 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winnow v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26749e5c67b454fbd82945e0bab9275bdb80b22b05be2c1871028b7e4d42ced4 [INFO] running `Command { std: "docker" "start" "-a" "26749e5c67b454fbd82945e0bab9275bdb80b22b05be2c1871028b7e4d42ced4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26749e5c67b454fbd82945e0bab9275bdb80b22b05be2c1871028b7e4d42ced4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26749e5c67b454fbd82945e0bab9275bdb80b22b05be2c1871028b7e4d42ced4", kill_on_drop: false }` [INFO] [stdout] 26749e5c67b454fbd82945e0bab9275bdb80b22b05be2c1871028b7e4d42ced4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fd2577669ebfc218ae1d5eeeca70ea52bce1b41ed6822c3deb2da1f1573eee1 [INFO] running `Command { std: "docker" "start" "-a" "5fd2577669ebfc218ae1d5eeeca70ea52bce1b41ed6822c3deb2da1f1573eee1", kill_on_drop: false }` [INFO] [stderr] Compiling qrforge v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "5fd2577669ebfc218ae1d5eeeca70ea52bce1b41ed6822c3deb2da1f1573eee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd2577669ebfc218ae1d5eeeca70ea52bce1b41ed6822c3deb2da1f1573eee1", kill_on_drop: false }` [INFO] [stdout] 5fd2577669ebfc218ae1d5eeeca70ea52bce1b41ed6822c3deb2da1f1573eee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb39283883f25cdc3279ba89fa275c1936644b4af4c9796d512e3c40a65a4746 [INFO] running `Command { std: "docker" "start" "-a" "eb39283883f25cdc3279ba89fa275c1936644b4af4c9796d512e3c40a65a4746", kill_on_drop: false }` [INFO] [stderr] Compiling qrforge v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "eb39283883f25cdc3279ba89fa275c1936644b4af4c9796d512e3c40a65a4746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb39283883f25cdc3279ba89fa275c1936644b4af4c9796d512e3c40a65a4746", kill_on_drop: false }` [INFO] [stdout] eb39283883f25cdc3279ba89fa275c1936644b4af4c9796d512e3c40a65a4746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91d78909a1fdea46df72887f3355894f0c01226b684879518e5b05df3f3e23b0 [INFO] running `Command { std: "docker" "start" "-a" "91d78909a1fdea46df72887f3355894f0c01226b684879518e5b05df3f3e23b0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qrforge-76b307897b99c332) [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] [stderr] Running unittests src/bin/qrgen.rs (/opt/rustwide/target/debug/deps/qrgen-e0b33f66a72505ea) [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] [stderr] Doc-tests qrforge [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/qrcode_builder.rs - qrcode_builder::QRBuilder (line 13) ... FAILED [INFO] [stdout] test src/error.rs - error::QRError (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 45) ... FAILED [INFO] [stdout] test src/qrcode.rs - qrcode::QRCode::builder (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/qrcode_builder.rs - qrcode_builder::QRBuilder (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/qrcode_builder.rs - qrcode_builder::QRBuilder (line 13) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `QRCode` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let qr = QRCode::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `QRCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use qrforge::QRCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .add_segment(Some(Mode::Byte), b"I read the newspaper") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | .add_segment(Some(Mode::Numeric), b"1234567890") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ErrorCorrection` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | .error_correction(ErrorCorrection::L) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ErrorCorrection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use qrforge::ErrorCorrection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Version` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | .version(Version::V(1)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use qrforge::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] ---- src/error.rs - error::QRError (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `qrcode` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use qrcode::QRError; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 9 | use qrforge::qrcode::QRError; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `qr` in this scope [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | qr.svg_builder() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 45) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `QRCode` in this scope [INFO] [stdout] --> src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | let qr = QRCode::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `QRCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 45 + use qrforge::QRCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .add_segment(Some(Mode::Byte), b"I read the newspaper") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/lib.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | .add_segment(Some(Mode::Numeric), b"1234567890") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ErrorCorrection` in this scope [INFO] [stdout] --> src/lib.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | .error_correction(ErrorCorrection::L) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ErrorCorrection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use qrforge::ErrorCorrection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Version` in this scope [INFO] [stdout] --> src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | .version(Version::V(1)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use qrforge::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] ---- src/qrcode.rs - qrcode::QRCode::builder (line 30) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `QRCode` in this scope [INFO] [stdout] --> src/qrcode.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let builder = QRCode::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `QRCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 30 + use qrforge::QRCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `qr` in this scope [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | qr.image_builder() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/qrcode_builder.rs - qrcode_builder::QRBuilder (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `QRCode` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | let qr_codes = QRCode::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `QRCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use qrforge::QRCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | .add_segment(Some(Mode::Byte), b"I read the newspaper") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 24 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | .add_segment(Some(Mode::Numeric), b"1234567890") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 24 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ErrorCorrection` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | .error_correction(ErrorCorrection::L) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ErrorCorrection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 24 + use qrforge::ErrorCorrection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Version` in this scope [INFO] [stdout] --> src/qrcode_builder.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .version(Version::V(1)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 24 + use qrforge::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `QRCode` in this scope [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let qr = QRCode::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `QRCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use qrforge::QRCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | .add_segment(Some(Mode::Byte), b"Hello world") [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use qrforge::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ErrorCorrection` in this scope [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | .error_correction(ErrorCorrection::L) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ErrorCorrection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use qrforge::ErrorCorrection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Version` in this scope [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | .version(Version::V(1)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use qrforge::Version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/error.rs - error::QRError (line 8) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - (line 45) [INFO] [stdout] src/qrcode.rs - qrcode::QRCode::builder (line 30) [INFO] [stdout] src/qrcode_builder.rs - qrcode_builder::QRBuilder (line 13) [INFO] [stdout] src/qrcode_builder.rs - qrcode_builder::QRBuilder (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "91d78909a1fdea46df72887f3355894f0c01226b684879518e5b05df3f3e23b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d78909a1fdea46df72887f3355894f0c01226b684879518e5b05df3f3e23b0", kill_on_drop: false }` [INFO] [stdout] 91d78909a1fdea46df72887f3355894f0c01226b684879518e5b05df3f3e23b0