[INFO] fetching crate sixel-sys-static 0.3.2... [INFO] checking sixel-sys-static-0.3.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sixel-sys-static 0.3.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate sixel-sys-static 0.3.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sixel-sys-static 0.3.2 [INFO] finished tweaking crates.io crate sixel-sys-static 0.3.2 [INFO] tweaked toml for crates.io crate sixel-sys-static 0.3.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.8.2 (available: v2.6.0) [INFO] [stderr] Adding curl-sys v0.3.16 (available: v0.4.76+curl-8.10.1) [INFO] [stderr] Adding gdk-pixbuf-sys v0.3.4 (available: v0.20.4) [INFO] [stderr] Adding gio-sys v0.3.4 (available: v0.20.4) [INFO] [stderr] Adding glib-sys v0.3.4 (available: v0.20.4) [INFO] [stderr] Adding gobject-sys v0.3.4 (available: v0.20.4) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib-sys v0.3.4 [INFO] [stderr] Downloaded mozjpeg-sys v2.2.1 [INFO] [stderr] Downloaded gio-sys v0.3.4 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.3.4 [INFO] [stderr] Downloaded gobject-sys v0.3.4 [INFO] [stderr] Downloaded curl-sys v0.3.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7286d5431d91cf0b8f3eaa90bf6c9bb2e5004b92a63d093ad9402aa9b1b753e6 [INFO] running `Command { std: "docker" "start" "-a" "7286d5431d91cf0b8f3eaa90bf6c9bb2e5004b92a63d093ad9402aa9b1b753e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7286d5431d91cf0b8f3eaa90bf6c9bb2e5004b92a63d093ad9402aa9b1b753e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7286d5431d91cf0b8f3eaa90bf6c9bb2e5004b92a63d093ad9402aa9b1b753e6", kill_on_drop: false }` [INFO] [stdout] 7286d5431d91cf0b8f3eaa90bf6c9bb2e5004b92a63d093ad9402aa9b1b753e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1bb9b178a92c7a8e9891b1e10b97484220bd030906d756329d05e9e725ddfbb [INFO] running `Command { std: "docker" "start" "-a" "f1bb9b178a92c7a8e9891b1e10b97484220bd030906d756329d05e9e725ddfbb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling sixel-sys-static v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `sixel_sys` [INFO] [stdout] --> tests/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate sixel_sys as sixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Version` in this scope [INFO] [stdout] --> tests/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let expected_ver: Version = Version { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Version` in this scope [INFO] [stdout] --> tests/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | let expected_ver: Version = Version { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/lib.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | let assert_ok = |actual: Status| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jpeg` [INFO] [stdout] --> tests/lib.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(jpeg)] [INFO] [stdout] | ^^^^ help: found config with similar value: `feature = "jpeg"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jpeg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jpeg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `png` [INFO] [stdout] --> tests/lib.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(png)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "png"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(png)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(png)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_int` [INFO] [stdout] --> tests/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::os::raw::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_uint` [INFO] [stdout] --> tests/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | use std::os::raw::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> tests/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static!{ [INFO] [stdout] 13 | | pub static ref lock: Mutex<()> = Mutex::new(()); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_encoder_new` in this scope [INFO] [stdout] --> tests/lib.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let result = sixel_encoder_new(&mut encoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Optflag` [INFO] [stdout] --> tests/lib.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | ... Optflag::OutFile, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Optflag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_encoder_setopt` in this scope [INFO] [stdout] --> tests/lib.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | let result = sixel_encoder_setopt(encoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_encoder_encode` in this scope [INFO] [stdout] --> tests/lib.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let result = sixel_encoder_encode(encoder, snake_path.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_encoder_unref` in this scope [INFO] [stdout] --> tests/lib.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | sixel_encoder_unref(encoder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_decoder_new` in this scope [INFO] [stdout] --> tests/lib.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | let result = sixel_decoder_new(&mut decoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderOptflag` [INFO] [stdout] --> tests/lib.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | ... DecoderOptflag::Input, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DecoderOptflag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_decoder_setopt` in this scope [INFO] [stdout] --> tests/lib.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let result = sixel_decoder_setopt(decoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderOptflag` [INFO] [stdout] --> tests/lib.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | ... DecoderOptflag::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DecoderOptflag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_decoder_setopt` in this scope [INFO] [stdout] --> tests/lib.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let result = sixel_decoder_setopt(decoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_decoder_decode` in this scope [INFO] [stdout] --> tests/lib.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | let result = sixel_decoder_decode(decoder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sixel_decoder_unref` in this scope [INFO] [stdout] --> tests/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | sixel_decoder_unref(decoder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sixel-sys-static` (test "lib") due to 17 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f1bb9b178a92c7a8e9891b1e10b97484220bd030906d756329d05e9e725ddfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1bb9b178a92c7a8e9891b1e10b97484220bd030906d756329d05e9e725ddfbb", kill_on_drop: false }` [INFO] [stdout] f1bb9b178a92c7a8e9891b1e10b97484220bd030906d756329d05e9e725ddfbb