[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] 3446285f5ae02e9de29db86f691679af5fbee972 [INFO] testing TianLiangZhou/ffi-qrcode against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-qrcode" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TianLiangZhou/ffi-qrcode on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-80/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.55.0" "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-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fba3f8a3adae432eacf80b3bfa1ba37989dcccf2dd8178bd0ec4b8871ae83f3d [INFO] running `Command { std: "docker" "start" "-a" "fba3f8a3adae432eacf80b3bfa1ba37989dcccf2dd8178bd0ec4b8871ae83f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fba3f8a3adae432eacf80b3bfa1ba37989dcccf2dd8178bd0ec4b8871ae83f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba3f8a3adae432eacf80b3bfa1ba37989dcccf2dd8178bd0ec4b8871ae83f3d", kill_on_drop: false }` [INFO] [stdout] fba3f8a3adae432eacf80b3bfa1ba37989dcccf2dd8178bd0ec4b8871ae83f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c642d4e821f3e45c753b00de9b4b241fe887e7a71ee8aeb6ce4fd4d236bb759 [INFO] running `Command { std: "docker" "start" "-a" "3c642d4e821f3e45c753b00de9b4b241fe887e7a71ee8aeb6ce4fd4d236bb759", 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 getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cbindgen v0.18.0 [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 num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [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 crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling num-rational v0.3.2 [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 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3c642d4e821f3e45c753b00de9b4b241fe887e7a71ee8aeb6ce4fd4d236bb759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c642d4e821f3e45c753b00de9b4b241fe887e7a71ee8aeb6ce4fd4d236bb759", kill_on_drop: false }` [INFO] [stdout] 3c642d4e821f3e45c753b00de9b4b241fe887e7a71ee8aeb6ce4fd4d236bb759