[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-qrcode" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TianLiangZhou/ffi-qrcode on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-21/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cbindgen v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 890472e8e36379206f3dc734cf4a13d4e85a289a79b2cb831eb16fb52034dbdb [INFO] running `Command { std: "docker" "start" "-a" "890472e8e36379206f3dc734cf4a13d4e85a289a79b2cb831eb16fb52034dbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "890472e8e36379206f3dc734cf4a13d4e85a289a79b2cb831eb16fb52034dbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "890472e8e36379206f3dc734cf4a13d4e85a289a79b2cb831eb16fb52034dbdb", kill_on_drop: false }` [INFO] [stdout] 890472e8e36379206f3dc734cf4a13d4e85a289a79b2cb831eb16fb52034dbdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90fd1917519e4ad5b468f1b903475a919eacc73724f1973e18b3da0bc38d5ddf [INFO] running `Command { std: "docker" "start" "-a" "90fd1917519e4ad5b468f1b903475a919eacc73724f1973e18b3da0bc38d5ddf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cbindgen v0.18.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.6.2 [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 rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [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_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [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" "90fd1917519e4ad5b468f1b903475a919eacc73724f1973e18b3da0bc38d5ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90fd1917519e4ad5b468f1b903475a919eacc73724f1973e18b3da0bc38d5ddf", kill_on_drop: false }` [INFO] [stdout] 90fd1917519e4ad5b468f1b903475a919eacc73724f1973e18b3da0bc38d5ddf