[INFO] fetching crate zxing-cpp 0.4.1... [INFO] building zxing-cpp-0.4.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate zxing-cpp 0.4.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate zxing-cpp 0.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zxing-cpp 0.4.1 [INFO] tweaked toml for crates.io crate zxing-cpp 0.4.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zxing-cpp 0.4.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zxing-cpp 0.4.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded backtrace-ext v0.2.1 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded flagset v0.4.5 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded supports-hyperlinks v2.1.0 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded crc32fast v1.4.0 [INFO] [stderr] Downloaded supports-unicode v2.1.0 [INFO] [stderr] Downloaded syn v2.0.52 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c42cfe1cebbb607659eb08df1957d60a23f89c9c26056783988d00919d4d9464 [INFO] running `Command { std: "docker" "start" "-a" "c42cfe1cebbb607659eb08df1957d60a23f89c9c26056783988d00919d4d9464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c42cfe1cebbb607659eb08df1957d60a23f89c9c26056783988d00919d4d9464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c42cfe1cebbb607659eb08df1957d60a23f89c9c26056783988d00919d4d9464", kill_on_drop: false }` [INFO] [stdout] c42cfe1cebbb607659eb08df1957d60a23f89c9c26056783988d00919d4d9464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8fb5dc883e24d9b2a7e6be8561fbea06b5c252918e5dd2d77b8f78283f05865 [INFO] running `Command { std: "docker" "start" "-a" "d8fb5dc883e24d9b2a7e6be8561fbea06b5c252918e5dd2d77b8f78283f05865", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling flagset v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling supports-unicode v2.1.0 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling zxing-cpp v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.12s [INFO] running `Command { std: "docker" "inspect" "d8fb5dc883e24d9b2a7e6be8561fbea06b5c252918e5dd2d77b8f78283f05865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8fb5dc883e24d9b2a7e6be8561fbea06b5c252918e5dd2d77b8f78283f05865", kill_on_drop: false }` [INFO] [stdout] d8fb5dc883e24d9b2a7e6be8561fbea06b5c252918e5dd2d77b8f78283f05865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1a16517a7f6387e33834bc1cd3637ae1a0ba53488095e39d9573b18f52268b5 [INFO] running `Command { std: "docker" "start" "-a" "a1a16517a7f6387e33834bc1cd3637ae1a0ba53488095e39d9573b18f52268b5", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling zxing-cpp v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stdout] error[E0277]: the trait bound `ImageBuffer, Vec>: From<&Image>` is not satisfied [INFO] [stdout] --> examples/demo_writer.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | image::GrayImage::from(&bc.to_image_with(&write().scale(4))?).save(filename)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `From<&Image>` is not implemented for `ImageBuffer, Vec>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From<&Image>` is not implemented for `ImageBuffer, Vec>` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `DynamicImage`, found `&Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zxing-cpp` (example "demo_writer") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcxUBE7f/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libthiserror-b5cbfa4568ff0afa,libflagset-2c9605fb9b212ff9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcxUBE7f/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: ZXing_Barcode_delete [INFO] [stdout] >>> referenced by lib.rs:111 (src/lib.rs:111) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(_$LT$zxingcpp..Barcode$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf84399aadfa4f756) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_delete [INFO] [stdout] >>> referenced by lib.rs:111 (src/lib.rs:111) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeReader$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8e5bcb373e651d45) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_CreatorOptions_delete [INFO] [stdout] >>> referenced by lib.rs:111 (src/lib.rs:111) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeCreator$u20$as$u20$core..ops..drop..Drop$GT$::drop::hcb24c4cd24aa8460) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ImageView_delete [INFO] [stdout] >>> referenced by lib.rs:276 (src/lib.rs:276) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(_$LT$zxingcpp..ImageViewOwner$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf18f8ba1c73f2393) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_LastErrorMsg [INFO] [stdout] >>> referenced by lib.rs:80 (src/lib.rs:80) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::last_error::h0fae907726106e14) [INFO] [stdout] >>> referenced by lib.rs:88 (src/lib.rs:88) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.1.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::hf9c8bf851e04cf9c) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_getFormats [INFO] [stdout] >>> referenced by lib.rs:182 (src/lib.rs:182) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_formats::hb7ff791250ad8e23) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_getIsPure [INFO] [stdout] >>> referenced by lib.rs:182 (src/lib.rs:182) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_is_pure::h5d2963167e102d17) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setFormats [INFO] [stdout] >>> referenced by lib.rs:177 (src/lib.rs:177) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::set_formats::hbfffdf454e4f340c) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_getTextMode [INFO] [stdout] >>> referenced by lib.rs:182 (src/lib.rs:182) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_text_mode::h730e7029ab8e5465) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_getTryHarder [INFO] [stdout] >>> referenced by lib.rs:182 (src/lib.rs:182) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_try_harder::hf96a2ff8da25c432) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setTryHarder [INFO] [stdout] >>> referenced by lib.rs:177 (src/lib.rs:177) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::set_try_harder::h3395c0cc905aa500) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_new [INFO] [stdout] >>> referenced by lib.rs:124 (src/lib.rs:124) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::new::h3bde0d30b826a20e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReadBarcodes [INFO] [stdout] >>> referenced by lib.rs:519 (src/lib.rs:519) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h0947c09c2039ad9b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcodes_size [INFO] [stdout] >>> referenced by lib.rs:521 (src/lib.rs:521) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h0947c09c2039ad9b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcodes_move [INFO] [stdout] >>> referenced by lib.rs:524 (src/lib.rs:524) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h0947c09c2039ad9b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcodes_delete [INFO] [stdout] >>> referenced by lib.rs:526 (src/lib.rs:526) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h0947c09c2039ad9b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setIsPure [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::is_pure::hb453cb872115cff2) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setBinarizer [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::binarizer::hc584a2165978fc8a) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setTextMode [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::text_mode::h3b7c1068f2e49490) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_CreateBarcodeFromBytes [INFO] [stdout] >>> referenced by lib.rs:554 (src/lib.rs:554) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.4efdef5c489623aa-cgu.0.rcgu.o:(zxingcpp::BarcodeCreator::from_slice::hadd543310386a639) [INFO] [stdout] [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zxing-cpp` (lib test) due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustccS3yFk/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libimage-34396b765c2fd777,libqoi-86dec59824738a97,libbytemuck-a51f1a037e7dc8e3,libpng-0013b8948345a172,libfdeflate-2676e2396689691a,libbitflags-e2b4db6c651223da,libexr-bcf6c7c92f5955b3,libflume-7785f858401b6738,libzune_inflate-249878d2816071b4,libbit_field-eda3227a244109cb,liblebe-dd40720b17de66d8,libhalf-791b80e396d88634,libsmallvec-1a60f31cc60814d8,libgif-d5ddca0d037621a1,libcolor_quant-fa7ff1de0e6ea74b,libbyteorder-1efcbe4f07366651,libnum_traits-50a6f4963e45af36,libtiff-a23117dc29e3d5c9,libflate2-6aa2188cc68fdd17,libminiz_oxide-3d4b64de72f97cc3,libsimd_adler32-eda01a159841bab2,libcrc32fast-b0a822c04decf57d,libcfg_if-33ef6c02a07f9fec,libweezl-a28855e8054185c9,libjpeg_decoder-f1c89ac88ef21bb7,librayon-66d0b1dbb3ee8285,librayon_core-91553b22dcd827f2,libcrossbeam_deque-9ef4ee6c8344f758,libcrossbeam_epoch-83d4e6858184b011,libcrossbeam_utils-8767270430be56a4,libeither-8836ea092cd3657f,libanyhow-4579fbf1a0a58f3e,libzxingcpp-fa2bf9f81d50f2bf,libthiserror-b5cbfa4568ff0afa,libflagset-2c9605fb9b212ff9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustccS3yFk/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: ZXing_BarcodeFormatsFromString [INFO] [stdout] >>> referenced by lib.rs:262 (src/lib.rs:262) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::h112c10898471a797) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_LastErrorMsg [INFO] [stdout] >>> referenced by lib.rs:88 (src/lib.rs:88) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::h112c10898471a797) [INFO] [stdout] >>> referenced by lib.rs:80 (src/lib.rs:80) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(zxingcpp::last_error::h1ef64fc397a887f9) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setTryHarder [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::try_harder::h82fff6340affa762) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setTryInvert [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::try_invert::h510977fd72e23b00) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setTryRotate [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::try_rotate::hae5a68e8497e93e5) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setReturnErrors [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::return_errors::h89d6532523c672a9) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setTryDownscale [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::try_downscale::h51e7aaa3bb660a0e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReadBarcodes [INFO] [stdout] >>> referenced by lib.rs:519 (src/lib.rs:519) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h85d260f03e3c560e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcodes_size [INFO] [stdout] >>> referenced by lib.rs:521 (src/lib.rs:521) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h85d260f03e3c560e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcodes_move [INFO] [stdout] >>> referenced by lib.rs:524 (src/lib.rs:524) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h85d260f03e3c560e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcodes_delete [INFO] [stdout] >>> referenced by lib.rs:526 (src/lib.rs:526) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h85d260f03e3c560e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_setFormats [INFO] [stdout] >>> referenced by lib.rs:171 (src/lib.rs:171) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::formats::h876aaa23df42a474) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ImageView_new_checked [INFO] [stdout] >>> referenced by lib.rs:323 (src/lib.rs:323) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.8b63664c8f1b2c0f-cgu.0.rcgu.o:(zxingcpp::ImageView::from_slice::h90979aae3740880b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_PositionToString [INFO] [stdout] >>> referenced by lib.rs:434 (src/lib.rs:434) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(_$LT$zxingcpp..Position$u20$as$u20$core..fmt..Display$GT$::fmt::h7aac9ce4140cc88a) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_delete [INFO] [stdout] >>> referenced by lib.rs:111 (src/lib.rs:111) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(_$LT$zxingcpp..Barcode$u20$as$u20$core..ops..drop..Drop$GT$::drop::h370b15334aa770d3) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ContentTypeToString [INFO] [stdout] >>> referenced by lib.rs:238 (src/lib.rs:238) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(_$LT$zxingcpp..ContentType$u20$as$u20$core..fmt..Display$GT$::fmt::hec4a39b0112f36f9) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_BarcodeFormatToString [INFO] [stdout] >>> referenced by lib.rs:232 (src/lib.rs:232) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeFormat$u20$as$u20$core..fmt..Display$GT$::fmt::h8f6498160b28907d) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_delete [INFO] [stdout] >>> referenced by lib.rs:111 (src/lib.rs:111) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeReader$u20$as$u20$core..ops..drop..Drop$GT$::drop::hded47e35ff918a35) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ImageView_delete [INFO] [stdout] >>> referenced by lib.rs:276 (src/lib.rs:276) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(_$LT$zxingcpp..ImageViewOwner$u20$as$u20$core..ops..drop..Drop$GT$::drop::he685a597d8382077) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_ReaderOptions_new [INFO] [stdout] >>> referenced by lib.rs:124 (src/lib.rs:124) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.8a1ec1da5aed9e66-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::new::h7c315413e0ad424e) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zxing-cpp` (example "demo_reader") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a1a16517a7f6387e33834bc1cd3637ae1a0ba53488095e39d9573b18f52268b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a16517a7f6387e33834bc1cd3637ae1a0ba53488095e39d9573b18f52268b5", kill_on_drop: false }` [INFO] [stdout] a1a16517a7f6387e33834bc1cd3637ae1a0ba53488095e39d9573b18f52268b5