[INFO] fetching crate qrcodegen 1.7.0... [INFO] testing qrcodegen-1.7.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate qrcodegen 1.7.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate qrcodegen 1.7.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qrcodegen 1.7.0 [INFO] finished tweaking crates.io crate qrcodegen 1.7.0 [INFO] tweaked toml for crates.io crate qrcodegen 1.7.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate qrcodegen 1.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 815d7cf98db981baacbcf0a46802ca0f70927a78b6de2799ab7e1b3eb49151bd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "815d7cf98db981baacbcf0a46802ca0f70927a78b6de2799ab7e1b3eb49151bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "815d7cf98db981baacbcf0a46802ca0f70927a78b6de2799ab7e1b3eb49151bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815d7cf98db981baacbcf0a46802ca0f70927a78b6de2799ab7e1b3eb49151bd", kill_on_drop: false }` [INFO] [stdout] 815d7cf98db981baacbcf0a46802ca0f70927a78b6de2799ab7e1b3eb49151bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21da72901388f8373f2be80be17824104cf3783ee4bb52e2520e8c98c76108a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "21da72901388f8373f2be80be17824104cf3783ee4bb52e2520e8c98c76108a4", kill_on_drop: false }` [INFO] [stderr] Compiling qrcodegen v1.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:837:3 [INFO] [stdout] | [INFO] [stdout] 837 | ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] | ^^ [INFO] [stdout] 838 | + 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] 837 ~ i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 838 ~ + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "21da72901388f8373f2be80be17824104cf3783ee4bb52e2520e8c98c76108a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21da72901388f8373f2be80be17824104cf3783ee4bb52e2520e8c98c76108a4", kill_on_drop: false }` [INFO] [stdout] 21da72901388f8373f2be80be17824104cf3783ee4bb52e2520e8c98c76108a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ef17b446d107e6fc580f3095426e22461989a2368e8ef2296ebf2daa5c550ef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1ef17b446d107e6fc580f3095426e22461989a2368e8ef2296ebf2daa5c550ef", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:837:3 [INFO] [stdout] | [INFO] [stdout] 837 | ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] | ^^ [INFO] [stdout] 838 | + 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] 837 ~ i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 838 ~ + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qrcodegen v1.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:837:3 [INFO] [stdout] | [INFO] [stdout] 837 | ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] | ^^ [INFO] [stdout] 838 | + 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] 837 ~ i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stdout] 838 ~ + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "1ef17b446d107e6fc580f3095426e22461989a2368e8ef2296ebf2daa5c550ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef17b446d107e6fc580f3095426e22461989a2368e8ef2296ebf2daa5c550ef", kill_on_drop: false }` [INFO] [stdout] 1ef17b446d107e6fc580f3095426e22461989a2368e8ef2296ebf2daa5c550ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42cdd35d844940724f200d77f535e1bf7059260ef616692aa2738c45479aeeab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "42cdd35d844940724f200d77f535e1bf7059260ef616692aa2738c45479aeeab", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:837:3 [INFO] [stderr] | [INFO] [stderr] 837 | ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] | ^^ [INFO] [stderr] 838 | + 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] 837 ~ i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 838 ~ + i32::from(core && rh[6] >= n * 4 && rh[0] >= n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `qrcodegen` (lib) generated 1 warning [INFO] [stderr] warning: `qrcodegen` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/qrcodegen-e934d6db72720ff2) [INFO] [stderr] Doc-tests qrcodegen [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] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:837:3 [INFO] [stderr] | [INFO] [stderr] 837 | ( i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] | ^^ [INFO] [stderr] 838 | + 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] 837 ~ i32::from(core && rh[0] >= n * 4 && rh[6] >= n) [INFO] [stderr] 838 ~ + 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 74) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 74) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:81: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:81: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:81: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:81: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:76: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:77:10 [INFO] [stdout] | [INFO] [stdout] 5 | let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, [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:77:50 [INFO] [stdout] | [INFO] [stdout] 5 | let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrCodeEcc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 6 | Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> src/lib.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 6 | Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mask` [INFO] [stdout] --> src/lib.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 6 | Version::new(5), Version::new(5), Some(Mask::new(2)), false).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::simd::Mask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `paint` in this scope [INFO] [stdout] --> src/lib.rs:81: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 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QrCodeEcc` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 5 | QrCodeEcc::Medium).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `QrCodeEcc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QrCode` [INFO] [stdout] --> src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 4 | let qr = QrCode::encode_text("Hello, world!", [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use qrcodegen::QrCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_svg_string` in this scope [INFO] [stdout] --> src/lib.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 6 | let svg = to_svg_string(&qr, 4); // See qrcodegen-demo [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "42cdd35d844940724f200d77f535e1bf7059260ef616692aa2738c45479aeeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cdd35d844940724f200d77f535e1bf7059260ef616692aa2738c45479aeeab", kill_on_drop: false }` [INFO] [stdout] 42cdd35d844940724f200d77f535e1bf7059260ef616692aa2738c45479aeeab