[INFO] fetching crate zxing-cpp 0.4.1... [INFO] testing zxing-cpp-0.4.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate zxing-cpp 0.4.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zxing-cpp 0.4.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f8ec9927bf00404e63ce9905072ce655142fce7c5f9b0f9dd459bad22b3024 [INFO] running `Command { std: "docker" "start" "-a" "d1f8ec9927bf00404e63ce9905072ce655142fce7c5f9b0f9dd459bad22b3024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f8ec9927bf00404e63ce9905072ce655142fce7c5f9b0f9dd459bad22b3024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f8ec9927bf00404e63ce9905072ce655142fce7c5f9b0f9dd459bad22b3024", kill_on_drop: false }` [INFO] [stdout] d1f8ec9927bf00404e63ce9905072ce655142fce7c5f9b0f9dd459bad22b3024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5828648a799a4a68bd289a05a1d191ebc2d74384e2bea5430b8a34f7580a876b [INFO] running `Command { std: "docker" "start" "-a" "5828648a799a4a68bd289a05a1d191ebc2d74384e2bea5430b8a34f7580a876b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling flagset v0.4.5 [INFO] [stderr] Compiling syn v2.0.52 [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 is-terminal v0.4.12 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling supports-unicode v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling thiserror v1.0.58 [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 5.86s [INFO] running `Command { std: "docker" "inspect" "5828648a799a4a68bd289a05a1d191ebc2d74384e2bea5430b8a34f7580a876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5828648a799a4a68bd289a05a1d191ebc2d74384e2bea5430b8a34f7580a876b", kill_on_drop: false }` [INFO] [stdout] 5828648a799a4a68bd289a05a1d191ebc2d74384e2bea5430b8a34f7580a876b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15ac7746bee084834634fddc218eb7a7f410eefcd3db11fd92cde1d7dfbf4ead [INFO] running `Command { std: "docker" "start" "-a" "15ac7746bee084834634fddc218eb7a7f410eefcd3db11fd92cde1d7dfbf4ead", kill_on_drop: false }` [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v5.10.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/rustcqqRsBz/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/rustcqqRsBz/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.5c038490dde2afc9-cgu.0.rcgu.o:(_$LT$zxingcpp..Barcode$u20$as$u20$core..ops..drop..Drop$GT$::drop::hac7f8f076d8e8c33) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_BarcodeFormatsFromString [INFO] [stdout] >>> referenced by lib.rs:262 (src/lib.rs:262) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.5c038490dde2afc9-cgu.1.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::h83e72ccbf0fb5ecd) [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/deps/zxingcpp-02a845033e409291.zxingcpp.5c038490dde2afc9-cgu.1.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::h83e72ccbf0fb5ecd) [INFO] [stdout] >>> referenced by lib.rs:80 (src/lib.rs:80) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/zxingcpp-02a845033e409291.zxingcpp.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::last_error::h6221e646364b28e8) [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.5c038490dde2afc9-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeReader$u20$as$u20$core..ops..drop..Drop$GT$::drop::h56969423820416dd) [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.5c038490dde2afc9-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeCreator$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8a780da0463d2f3e) [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.5c038490dde2afc9-cgu.0.rcgu.o:(_$LT$zxingcpp..ImageViewOwner$u20$as$u20$core..ops..drop..Drop$GT$::drop::h1947b8b6917849fd) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_formats::hdf34ab08f2d8a70f) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_is_pure::h361538b9d3c2290f) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::set_formats::h29893d5842a20d6e) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_text_mode::hdc14727c503e27a1) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::get_try_harder::h0c51470d3977be2e) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::set_try_harder::h0981cfdfc5a960a1) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::new::h8a306af9781c0112) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h8b9110581ab98fbf) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h8b9110581ab98fbf) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h8b9110581ab98fbf) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::from::h8b9110581ab98fbf) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::is_pure::h11feae014508f1dc) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::binarizer::hd252eab4c68c0212) [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.5c038490dde2afc9-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::text_mode::h893f4ba2a0348ceb) [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/rustcE82zlb/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/rustcE82zlb/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_PositionToString [INFO] [stdout] >>> referenced by lib.rs:434 (src/lib.rs:434) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(_$LT$zxingcpp..Position$u20$as$u20$core..fmt..Display$GT$::fmt::h4e5284c3f9a45e6a) 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.787d35c181ea0a55-cgu.0.rcgu.o:(_$LT$zxingcpp..Barcode$u20$as$u20$core..ops..drop..Drop$GT$::drop::hd3acb49613d6f78b) 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.787d35c181ea0a55-cgu.0.rcgu.o:(_$LT$zxingcpp..ContentType$u20$as$u20$core..fmt..Display$GT$::fmt::h3c18cd082d62cb31) 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.787d35c181ea0a55-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeFormat$u20$as$u20$core..fmt..Display$GT$::fmt::h7d9c2f0af16fcb5b) 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.787d35c181ea0a55-cgu.0.rcgu.o:(_$LT$zxingcpp..BarcodeReader$u20$as$u20$core..ops..drop..Drop$GT$::drop::h395ba08808b81316) 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.787d35c181ea0a55-cgu.0.rcgu.o:(_$LT$zxingcpp..ImageViewOwner$u20$as$u20$core..ops..drop..Drop$GT$::drop::h542af5a2b1f10384) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_LastErrorMsg [INFO] [stdout] >>> referenced by lib.rs:80 (src/lib.rs:80) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::last_error::ha9b61d00e54eae13) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] >>> referenced by lib.rs:88 (src/lib.rs:88) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/demo_reader-e624fc14083c7ea0.demo_reader.b183f75c804232ff-cgu.0.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::ha6923f9991681d91) [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.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::BarcodeReader::new::h86f2404bc9f2e90b) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_orientation [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::orientation::h66e9da9b204a3e81) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_contentType [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::content_type::h0b34f1b08f2076f0) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_symbologyIdentifier [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::symbology_identifier::hdb15c0ab3a62be92) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_text [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::text::h38e865229b7ed73a) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_bytes [INFO] [stdout] >>> referenced by lib.rs:457 (src/lib.rs:457) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::bytes::h52c5a90dea5540cd) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_errorType [INFO] [stdout] >>> referenced by lib.rs:465 (src/lib.rs:465) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::error::h0e4b97630d258968) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_errorMsg [INFO] [stdout] >>> referenced by lib.rs:466 (src/lib.rs:466) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::error::h0e4b97630d258968) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_format [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::format::h911bed709dd4b269) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_ecLevel [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::ec_level::h78231ffd69c1e6ae) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_Barcode_position [INFO] [stdout] >>> referenced by lib.rs:140 (src/lib.rs:140) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::Barcode::position::h269c30b4c38de4f6) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ZXing_free [INFO] [stdout] >>> referenced by lib.rs:65 (src/lib.rs:65) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::c2r_str::hf9d11bb46a91ebd5) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] >>> referenced by lib.rs:74 (src/lib.rs:74) [INFO] [stdout] >>> zxingcpp-fa2bf9f81d50f2bf.zxingcpp.787d35c181ea0a55-cgu.0.rcgu.o:(zxingcpp::c2r_vec::h316489ae683589da) in archive /opt/rustwide/target/debug/deps/libzxingcpp-fa2bf9f81d50f2bf.rlib [INFO] [stdout] [INFO] [stdout] 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.b183f75c804232ff-cgu.0.rcgu.o:(_$LT$flagset..FlagSet$LT$zxingcpp..BarcodeFormat$GT$$u20$as$u20$zxingcpp..FromStr$GT$::from_str::ha6923f9991681d91) [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" "15ac7746bee084834634fddc218eb7a7f410eefcd3db11fd92cde1d7dfbf4ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ac7746bee084834634fddc218eb7a7f410eefcd3db11fd92cde1d7dfbf4ead", kill_on_drop: false }` [INFO] [stdout] 15ac7746bee084834634fddc218eb7a7f410eefcd3db11fd92cde1d7dfbf4ead