[INFO] cloning repository https://github.com/TianLiangZhou/ffi-qrcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TianLiangZhou/ffi-qrcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-qrcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-qrcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 805eeccd578f2ad24c6071fe4375a0682803d9c0 [INFO] testing TianLiangZhou/ffi-qrcode against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-qrcode" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TianLiangZhou/ffi-qrcode on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TianLiangZhou/ffi-qrcode [INFO] finished tweaking git repo https://github.com/TianLiangZhou/ffi-qrcode [INFO] tweaked toml for git repo https://github.com/TianLiangZhou/ffi-qrcode written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/TianLiangZhou/ffi-qrcode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71e128aca809b9c38d6fe025b9239cf31898371cb0197a3131334226b1a61580 [INFO] running `Command { std: "docker" "start" "-a" "71e128aca809b9c38d6fe025b9239cf31898371cb0197a3131334226b1a61580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71e128aca809b9c38d6fe025b9239cf31898371cb0197a3131334226b1a61580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e128aca809b9c38d6fe025b9239cf31898371cb0197a3131334226b1a61580", kill_on_drop: false }` [INFO] [stdout] 71e128aca809b9c38d6fe025b9239cf31898371cb0197a3131334226b1a61580 [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=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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f75f133378498050e6cdc49722eee09d20073b8602dccdd07ad40b38ca74e24b [INFO] running `Command { std: "docker" "start" "-a" "f75f133378498050e6cdc49722eee09d20073b8602dccdd07ad40b38ca74e24b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling cbindgen v0.18.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling qrcode v0.12.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ffi_qrcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ffi_qrcode` [INFO] [stdout] --> src/bin/ffiqr.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let cfg = &mut ffi_qrcode::Cfg { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ffi_qrcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ffi_qrcode` [INFO] [stdout] --> src/bin/ffiqr.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut render = ffi_qrcode::WrapperRenderer::new(svg, cfg.to_owned()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ffi_qrcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbaImage` [INFO] [stdout] --> src/bin/ffiqr.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{Rgba, RgbaImage, Pixel, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qrcode::render::svg` [INFO] [stdout] --> src/bin/ffiqr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use qrcode::render::svg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/bin/ffiqr.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ptr`, `slice` [INFO] [stdout] --> src/bin/ffiqr.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{ptr, slice}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/ffiqr.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::process::exit(1); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 38 | let code = QrCode::with_error_correction_level(b"01234567", EcLevel::H).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi_qrcode` due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | CString::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f75f133378498050e6cdc49722eee09d20073b8602dccdd07ad40b38ca74e24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75f133378498050e6cdc49722eee09d20073b8602dccdd07ad40b38ca74e24b", kill_on_drop: false }` [INFO] [stdout] f75f133378498050e6cdc49722eee09d20073b8602dccdd07ad40b38ca74e24b