[INFO] cloning repository https://github.com/mitul72/8080-emulator-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mitul72/8080-emulator-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitul72%2F8080-emulator-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitul72%2F8080-emulator-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43bb5390e8a1b407aca1225cd753978e94c136fd [INFO] testing mitul72/8080-emulator-rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitul72%2F8080-emulator-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mitul72/8080-emulator-rust [INFO] finished tweaking git repo https://github.com/mitul72/8080-emulator-rust [INFO] tweaked toml for git repo https://github.com/mitul72/8080-emulator-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mitul72/8080-emulator-rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mitul72/8080-emulator-rust 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb429e2a7512a1a84fa06caf2667991af0ea1048a71f5234ed93e5e9b56212b8 [INFO] running `Command { std: "docker" "start" "-a" "cb429e2a7512a1a84fa06caf2667991af0ea1048a71f5234ed93e5e9b56212b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb429e2a7512a1a84fa06caf2667991af0ea1048a71f5234ed93e5e9b56212b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb429e2a7512a1a84fa06caf2667991af0ea1048a71f5234ed93e5e9b56212b8", kill_on_drop: false }` [INFO] [stdout] cb429e2a7512a1a84fa06caf2667991af0ea1048a71f5234ed93e5e9b56212b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68871430d6361e23d230a7128bafc93dc1ccc1261da3adfd9540d47232307e76 [INFO] running `Command { std: "docker" "start" "-a" "68871430d6361e23d230a7128bafc93dc1ccc1261da3adfd9540d47232307e76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling intel-8080-emu-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling js-sys v0.3.72 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling web-sys v0.3.72 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.3 [INFO] [stdout] warning: unused import: `emulate_8080_op` [INFO] [stdout] --> src/tests/cpu_diag_test.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::emulator::cpu::{emulate_8080_op, CPU}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod cpu_diag_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_cpudiag` is never used [INFO] [stdout] --> src/tests/cpu_diag_test.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn load_cpudiag(cpu: &mut CPU, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcU0AyHH/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcU0AyHH/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lSDL2" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libimage-c98cf5e45d286264,libimage_webp-b4f95e8601006e05,libqoi-754cc4b7498c9c75,librayon-d7f70122059d9405,libpng-9ffda9b74bd6ca1d,libfdeflate-b6b4d7abfd841840,libexr-e0eb94bf3b9e5ea8,libflume-6168872410669726,libminiz_oxide-1a67edffcf571770,libadler-f4caa73e14204bdd,libzune_inflate-249878d2816071b4,librayon_core-936d6cd684097949,libcrossbeam_deque-1677f27c8a0deac5,libcrossbeam_epoch-3554ccb4a3bc7b51,libcrossbeam_utils-eb4587c77878a9d5,libbit_field-eda3227a244109cb,liblebe-dd40720b17de66d8,libhalf-8828d1a34d8bd812,libsmallvec-8045c56aeb050430,libzune_jpeg-fbfb68eaa6d49794,libzune_core-e448b15fbf642cb4,libgif-d5ddca0d037621a1,libcolor_quant-fa7ff1de0e6ea74b,libbyteorder_lite-25e78048a27d33b8,libravif-0091fbab10e137ce,libloop9-4bb62f80164107ac,libavif_serialize-5a15141fbf181aca,libquick_error-8d402ad4d863a69d,librgb-1ed681b62996bb34,librav1e-cefbd140c995c4e8,libprofiling-c7ad1cf24b244426,libav1_grain-1a669c9d5840587f,libnom-ad9297965177f1dd,libmemchr-4f0714dc45d95749,libnum_rational-7b4572453f1ff034,libnum_bigint-70385ea501249ca4,libnum_integer-3367a357d6e00808,libanyhow-990b2eea93ad961b,libdebug_unreachable-64be8850bfcabca1,libmaybe_rayon-26da144bc68237fe,libv_frame-735a9f7a380ba2e7,libaligned_vec-ab53b3b8648dcc44,libarrayvec-41dcfe80309d7422,libthiserror-c48961c94264bb2a,libbitstream_io-547946730a20f1d5,libitertools-97851b5a067112d9,libeither-38d43fea6173fdf6,liblog-5fb51f756c1191b0,libimgref-a0e1951dfb279f53,libbytemuck-ae131bb7d9cec480,libnum_traits-1a0074f98e3a6d0e,libtiff-0ff4343294172479,libflate2-c682dcd1faa651ee,libminiz_oxide-9f1aec8488cf8045,libsimd_adler32-eda01a159841bab2,libcrc32fast-ec6b1847c42b19ed,libcfg_if-33ef6c02a07f9fec,libweezl-a28855e8054185c9,libjpeg_decoder-5020c691837dd46e,libsdl2-6865e74cc81833a2,libsdl2_sys-f2c7fae2f552bf5e,libbitflags-e2b4db6c651223da,liblazy_static-b3603208c0de2608,liblibc-3fc2d635cb50a9c8}.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" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcU0AyHH/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "./libs" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libintel_8080_emu_rust.so" "-Wl,--gc-sections" "-shared" "-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: unable to find library -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `intel-8080-emu-rust` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68871430d6361e23d230a7128bafc93dc1ccc1261da3adfd9540d47232307e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68871430d6361e23d230a7128bafc93dc1ccc1261da3adfd9540d47232307e76", kill_on_drop: false }` [INFO] [stdout] 68871430d6361e23d230a7128bafc93dc1ccc1261da3adfd9540d47232307e76