[INFO] fetching crate qr_code 2.0.0... [INFO] testing qr_code-2.0.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate qr_code 2.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate qr_code 2.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate qr_code 2.0.0 [INFO] tweaked toml for crates.io crate qr_code 2.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qr_code 2.0.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qr_code 2.0.0 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arbitrary v0.4.7 [INFO] [stderr] Downloaded derive_arbitrary v0.4.7 [INFO] [stderr] Downloaded bmp-monochrome v1.1.0 [INFO] [stderr] Downloaded unicode-ident v1.0.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.56 [INFO] [stderr] Downloaded quote v1.0.27 [INFO] [stderr] Downloaded libc v0.2.144 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa4f9dd5ebf4ef2be5615108f34e06c1d48072b6cb4f319789e06e810a8a0d61 [INFO] running `Command { std: "docker" "start" "-a" "aa4f9dd5ebf4ef2be5615108f34e06c1d48072b6cb4f319789e06e810a8a0d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa4f9dd5ebf4ef2be5615108f34e06c1d48072b6cb4f319789e06e810a8a0d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4f9dd5ebf4ef2be5615108f34e06c1d48072b6cb4f319789e06e810a8a0d61", kill_on_drop: false }` [INFO] [stdout] aa4f9dd5ebf4ef2be5615108f34e06c1d48072b6cb4f319789e06e810a8a0d61 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a3f626efb07857339f8b79bfa66882a058a94f2c2c3aad16416eea2ccf90eac [INFO] running `Command { std: "docker" "start" "-a" "0a3f626efb07857339f8b79bfa66882a058a94f2c2c3aad16416eea2ccf90eac", kill_on_drop: false }` [INFO] [stderr] Compiling qr_code v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | #![cfg_attr(feature = "bench", doc(include = "../README.md"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `bmp`, `bmp-monochrome`, `decode`, `fuzz`, and `g2p` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/bits.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/bits.rs:1100:7 [INFO] [stdout] | [INFO] [stdout] 1100 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/optimize.rs:655:11 [INFO] [stdout] | [INFO] [stdout] 655 | #[cfg(any(fuzzing, test))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/optimize.rs:1147:7 [INFO] [stdout] | [INFO] [stdout] 1147 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/optimize.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn iter(&self) -> QrCodeIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn iter(&self) -> QrCodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/optimize.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(data: &[u8]) -> Parser { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(data: &[u8]) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "0a3f626efb07857339f8b79bfa66882a058a94f2c2c3aad16416eea2ccf90eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3f626efb07857339f8b79bfa66882a058a94f2c2c3aad16416eea2ccf90eac", kill_on_drop: false }` [INFO] [stdout] 0a3f626efb07857339f8b79bfa66882a058a94f2c2c3aad16416eea2ccf90eac [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfcb8cf31c4605d20ed1b8531571cac72bd014f88f60e18ee88940184cbd41f9 [INFO] running `Command { std: "docker" "start" "-a" "dfcb8cf31c4605d20ed1b8531571cac72bd014f88f60e18ee88940184cbd41f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | #![cfg_attr(feature = "bench", doc(include = "../README.md"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `bmp`, `bmp-monochrome`, `decode`, `fuzz`, and `g2p` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/bits.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/bits.rs:1100:7 [INFO] [stdout] | [INFO] [stdout] 1100 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/optimize.rs:655:11 [INFO] [stdout] | [INFO] [stdout] 655 | #[cfg(any(fuzzing, test))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/optimize.rs:1147:7 [INFO] [stdout] | [INFO] [stdout] 1147 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/optimize.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn iter(&self) -> QrCodeIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn iter(&self) -> QrCodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/optimize.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(data: &[u8]) -> Parser { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(data: &[u8]) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling qr_code v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | #![cfg_attr(feature = "bench", doc(include = "../README.md"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `bmp`, `bmp-monochrome`, `decode`, `fuzz`, and `g2p` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/bits.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/bits.rs:1100:7 [INFO] [stdout] | [INFO] [stdout] 1100 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/optimize.rs:655:11 [INFO] [stdout] | [INFO] [stdout] 655 | #[cfg(any(fuzzing, test))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/optimize.rs:1147:7 [INFO] [stdout] | [INFO] [stdout] 1147 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/optimize.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn iter(&self) -> QrCodeIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn iter(&self) -> QrCodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/optimize.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(data: &[u8]) -> Parser { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(data: &[u8]) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.75s [INFO] running `Command { std: "docker" "inspect" "dfcb8cf31c4605d20ed1b8531571cac72bd014f88f60e18ee88940184cbd41f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfcb8cf31c4605d20ed1b8531571cac72bd014f88f60e18ee88940184cbd41f9", kill_on_drop: false }` [INFO] [stdout] dfcb8cf31c4605d20ed1b8531571cac72bd014f88f60e18ee88940184cbd41f9 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54e6df3af49d4aa0b3034fb2f227b82c857a928570a313b201ab8702fcd8acda [INFO] running `Command { std: "docker" "start" "-a" "54e6df3af49d4aa0b3034fb2f227b82c857a928570a313b201ab8702fcd8acda", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `bench` [INFO] [stderr] --> src/lib.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | #![cfg_attr(feature = "bench", doc(include = "../README.md"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `bmp`, `bmp-monochrome`, `decode`, `fuzz`, and `g2p` [INFO] [stderr] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/lib.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | #![cfg_attr(bench, feature(test))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/lib.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/lib.rs:357:7 [INFO] [stderr] | [INFO] [stderr] 357 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/bits.rs:156:7 [INFO] [stderr] | [INFO] [stderr] 156 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/bits.rs:1100:7 [INFO] [stderr] | [INFO] [stderr] 1100 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stderr] --> src/optimize.rs:655:11 [INFO] [stderr] | [INFO] [stderr] 655 | #[cfg(any(fuzzing, test))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/optimize.rs:1147:7 [INFO] [stderr] | [INFO] [stderr] 1147 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stderr] --> src/optimize.rs:637:11 [INFO] [stderr] | [INFO] [stderr] 637 | #[cfg(fuzzing)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:219:17 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn iter(&self) -> QrCodeIterator { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 219 | pub fn iter(&self) -> QrCodeIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/optimize.rs:112:22 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn new(data: &[u8]) -> Parser { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | pub fn new(data: &[u8]) -> Parser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `qr_code` (lib) generated 11 warnings [INFO] [stderr] warning: `qr_code` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qr_code-f7b01ea0b3bf8637) [INFO] [stdout] [INFO] [stdout] running 102 tests [INFO] [stdout] test bits::alphanumeric_tests::test_data_too_long ... ok [INFO] [stdout] test bits::alphanumeric_tests::test_micro_qr_unsupported ... ok [INFO] [stdout] test bits::byte_tests::test_data_too_long ... ok [INFO] [stdout] test bits::alphanumeric_tests::test_iso_18004_2006_example ... ok [INFO] [stdout] test bits::byte_tests::test_micro_qr_unsupported ... ok [INFO] [stdout] test bits::eci_tests::test_899 ... ok [INFO] [stdout] test bits::eci_tests::test_9 ... ok [INFO] [stdout] test bits::eci_tests::test_999999 ... ok [INFO] [stdout] test bits::eci_tests::test_invalid_designator ... ok [INFO] [stdout] test bits::encode_auto_tests::test_alpha_h ... ok [INFO] [stdout] test bits::encode_auto_tests::test_alpha_q ... ok [INFO] [stdout] test bits::encode_tests::test_alphanumeric ... ok [INFO] [stdout] test bits::encode_tests::test_auto_mode_switch ... ok [INFO] [stdout] test bits::encode_tests::test_too_long ... ok [INFO] [stdout] test bits::byte_tests::test ... ok [INFO] [stdout] test bits::eci_tests::test_unsupported_character_set ... ok [INFO] [stdout] test bits::encode_auto_tests::test_find_min_version ... ok [INFO] [stdout] test bits::encode_auto_tests::test_mixed ... ok [INFO] [stdout] test bits::finish_tests::test_micro_version_1_full_byte_padding ... ok [INFO] [stdout] test bits::finish_tests::test_micro_version_1_half_byte_padding ... ok [INFO] [stdout] test bits::finish_tests::test_no_padding ... ok [INFO] [stdout] test bits::finish_tests::test_too_long ... ok [INFO] [stdout] test bits::kanji_tests::test_iso_18004_example ... ok [INFO] [stdout] test bits::finish_tests::test_no_terminator ... ok [INFO] [stdout] test bits::numeric_tests::test_data_too_long_error ... ok [INFO] [stdout] test bits::kanji_tests::test_micro_qr_unsupported ... ok [INFO] [stdout] test bits::kanji_tests::test_data_too_long ... ok [INFO] [stdout] test bits::numeric_tests::test_iso_18004_2006_example_1 ... ok [INFO] [stdout] test bits::numeric_tests::test_iso_18004_2000_example_2 ... ok [INFO] [stdout] test bits::numeric_tests::test_iso_18004_2006_example_2 ... ok [INFO] [stdout] test bits::test_push_number ... ok [INFO] [stdout] test canvas::all_functional_patterns_tests::test_all_functional_patterns_micro_qr ... ok [INFO] [stdout] test canvas::alignment_pattern_tests::test_draw_alignment_patterns_1 ... ok [INFO] [stdout] test canvas::alignment_pattern_tests::test_draw_alignment_patterns_3 ... ok [INFO] [stdout] test canvas::all_functional_patterns_tests::test_is_functional_micro ... ok [INFO] [stdout] test canvas::all_functional_patterns_tests::test_is_functional_qr_3 ... ok [INFO] [stdout] test canvas::all_functional_patterns_tests::test_is_functional_qr_7 ... ok [INFO] [stdout] test canvas::all_functional_patterns_tests::test_is_functional_qr_1 ... ok [INFO] [stdout] test canvas::basic_canvas_tests::test_index ... ok [INFO] [stdout] test canvas::all_functional_patterns_tests::test_all_functional_patterns_qr ... ok [INFO] [stdout] test canvas::basic_canvas_tests::test_debug_str ... ok [INFO] [stdout] test canvas::data_iter_tests::test_qr ... ok [INFO] [stdout] test canvas::alignment_pattern_tests::test_draw_alignment_patterns_7 ... ok [INFO] [stdout] test canvas::data_iter_tests::test_micro_qr_2 ... ok [INFO] [stdout] test canvas::data_iter_tests::test_micro_qr ... ok [INFO] [stdout] test canvas::draw_codewords_test::test_micro_qr_1 ... ok [INFO] [stdout] test canvas::draw_version_info_tests::test_draw_reserved_format_info_patterns_micro_qr ... ok [INFO] [stdout] test canvas::draw_version_info_tests::test_draw_reserved_format_info_patterns_qr ... ok [INFO] [stdout] test canvas::draw_codewords_test::test_qr_2 ... ok [INFO] [stdout] test canvas::finder_pattern_tests::test_qr ... ok [INFO] [stdout] test canvas::finder_pattern_tests::test_micro_qr ... ok [INFO] [stdout] test canvas::mask_tests::test_draw_format_info_patterns_micro_qr ... ok [INFO] [stdout] test canvas::draw_version_info_tests::test_draw_number ... ok [INFO] [stdout] test canvas::mask_tests::test_apply_mask_qr ... ok [INFO] [stdout] test canvas::draw_version_info_tests::test_draw_version_info_1 ... ok [INFO] [stdout] test canvas::draw_version_info_tests::test_draw_version_info_7 ... ok [INFO] [stdout] test canvas::mask_tests::test_draw_format_info_patterns_qr ... ok [INFO] [stdout] test canvas::penalty_tests::check_penalty_canvas ... ok [INFO] [stdout] test canvas::penalty_tests::test_penalty_score_block ... ok [INFO] [stdout] test canvas::penalty_tests::test_penalty_score_adjacent ... ok [INFO] [stdout] test canvas::penalty_tests::test_penalty_score_balance ... ok [INFO] [stdout] test canvas::penalty_tests::test_penalty_score_light_sides ... ok [INFO] [stdout] test canvas::timing_pattern_tests::test_draw_timing_patterns_qr ... ok [INFO] [stdout] test canvas::penalty_tests::test_penalty_score_finder ... ok [INFO] [stdout] test canvas::timing_pattern_tests::test_draw_timing_patterns_micro_qr ... ok [INFO] [stdout] test ec::construct_codewords_test::test_add_ec_simple ... ok [INFO] [stdout] test ec::ec_tests::test_poly_mod_1 ... ok [INFO] [stdout] test ec::construct_codewords_test::test_add_ec_complex ... ok [INFO] [stdout] test ec::ec_tests::test_poly_mod_2 ... ok [INFO] [stdout] test ec::ec_tests::test_poly_mod_3 ... ok [INFO] [stdout] test ec::max_allowed_errors_test::test_high_versions ... ok [INFO] [stdout] test ec::max_allowed_errors_test::test_low_versions ... ok [INFO] [stdout] test ec::test_interleave ... ok [INFO] [stdout] test optimize::optimize_tests::test_annex_j_guideline_1a ... ok [INFO] [stdout] test optimize::optimize_tests::test_annex_j_guideline_1b ... ok [INFO] [stdout] test optimize::optimize_tests::test_empty ... ok [INFO] [stdout] test optimize::optimize_tests::test_annex_j_guideline_1c ... ok [INFO] [stdout] test optimize::optimize_tests::test_example_1 ... ok [INFO] [stdout] test optimize::optimize_tests::test_example_2 ... ok [INFO] [stdout] test optimize::optimize_tests::test_example_4 ... ok [INFO] [stdout] test optimize::optimize_tests::test_example_where_greedy_merging_is_suboptimal ... ok [INFO] [stdout] test optimize::optimize_tests::test_example_where_merging_two_consecutive_segments_is_always_harmful ... ok [INFO] [stdout] test optimize::parse_tests::test_not_kanji_3 ... ok [INFO] [stdout] test optimize::parse_tests::test_not_kanji_1 ... ok [INFO] [stdout] test optimize::parse_tests::test_not_kanji_4 ... ok [INFO] [stdout] test optimize::parse_tests::test_not_kanji_2 ... ok [INFO] [stdout] test structured::tests::test_merge ... ok [INFO] [stdout] test optimize::parse_tests::test_parse_shift_jis_example_1 ... ok [INFO] [stdout] test optimize::parse_tests::test_parse_1 ... ok [INFO] [stdout] test optimize::parse_tests::test_parse_utf_8 ... ok [INFO] [stdout] test structured::tests::test_try_into_structured ... ok [INFO] [stdout] test structured::tests::test_print_qr ... ok [INFO] [stdout] test tests::test_with_version ... ok [INFO] [stdout] test optimize::optimize_tests::test_example_3 ... ok [INFO] [stdout] test bits::finish_tests::test_hello_world ... ok [INFO] [stdout] test tests::test_equivalence_of_pixel_accessors ... ok [INFO] [stdout] test types::mode_tests::test_max ... ok [INFO] [stdout] test types::mode_tests::test_mode_order ... ok [INFO] [stdout] test structured::tests::test_structured_append ... ok [INFO] [stdout] test tests::test_very_large_input ... ok [INFO] [stdout] test optimize::optimize_tests::test_optimize_base64 ... ok [INFO] [stdout] test structured::tests::test_split_merge_qr ... ok [INFO] [stderr] Doc-tests qr_code [INFO] [stdout] [INFO] [stdout] test result: ok. 102 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/bits.rs - bits::Bits::push_fnc1_second_position (line 720) ... ignored [INFO] [stdout] test src/lib.rs - QrCode::with_bits (line 148) ... ok [INFO] [stdout] test src/lib.rs - QrCode::new (line 75) ... ok [INFO] [stdout] test src/canvas.rs - canvas (line 3) ... ok [INFO] [stdout] test src/optimize.rs - optimize::EcsIter (line 56) ... ignored [INFO] [stdout] test src/lib.rs - QrCode::with_error_correction_level (line 92) ... ok [INFO] [stdout] test src/bits.rs - bits::Bits::push_eci_designator (line 235) ... ok [INFO] [stdout] test src/canvas.rs - canvas::Module::mask (line 51) ... ok [INFO] [stdout] test src/bits.rs - bits::Bits::push_fnc1_second_position (line 707) ... ok [INFO] [stdout] test src/lib.rs - QrCode::with_version (line 111) ... ok [INFO] [stdout] test src/bits.rs - bits::Bits::push_fnc1_first_position (line 683) ... ok [INFO] [stdout] test src/types.rs - types::Mode::data_bits_count (line 255) ... ok [INFO] [stdout] test src/lib.rs - QrCode::with_version (line 117) ... ok [INFO] [stdout] test src/optimize.rs - optimize::Parser<'a>::new (line 104) ... ok [INFO] [stdout] test src/types.rs - types::Mode::max (line 272) ... ok [INFO] [stdout] test src/types.rs - types::Color::select (line 71) ... ok [INFO] [stdout] test src/types.rs - types::Mode::length_bits_count (line 217) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.50s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54e6df3af49d4aa0b3034fb2f227b82c857a928570a313b201ab8702fcd8acda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e6df3af49d4aa0b3034fb2f227b82c857a928570a313b201ab8702fcd8acda", kill_on_drop: false }` [INFO] [stdout] 54e6df3af49d4aa0b3034fb2f227b82c857a928570a313b201ab8702fcd8acda