[INFO] fetching crate nvdialog-sys 0.9.0... [INFO] testing nvdialog-sys-0.9.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate nvdialog-sys 0.9.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate nvdialog-sys 0.9.0 [INFO] finished tweaking crates.io crate nvdialog-sys 0.9.0 [INFO] tweaked toml for crates.io crate nvdialog-sys 0.9.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nvdialog-sys 0.9.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nvdialog-sys 0.9.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7199ad5b4c24da48e630fe6f1be1ee43953a79a0db8cd4c579231e22f0bdc29f [INFO] running `Command { std: "docker" "start" "-a" "7199ad5b4c24da48e630fe6f1be1ee43953a79a0db8cd4c579231e22f0bdc29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7199ad5b4c24da48e630fe6f1be1ee43953a79a0db8cd4c579231e22f0bdc29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7199ad5b4c24da48e630fe6f1be1ee43953a79a0db8cd4c579231e22f0bdc29f", kill_on_drop: false }` [INFO] [stdout] 7199ad5b4c24da48e630fe6f1be1ee43953a79a0db8cd4c579231e22f0bdc29f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0149f739b3d2fe264a5c36161c5ae6a858994a5658f0bef7e7407af1c057b64e [INFO] running `Command { std: "docker" "start" "-a" "0149f739b3d2fe264a5c36161c5ae6a858994a5658f0bef7e7407af1c057b64e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling nvdialog-sys v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.96s [INFO] running `Command { std: "docker" "inspect" "0149f739b3d2fe264a5c36161c5ae6a858994a5658f0bef7e7407af1c057b64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0149f739b3d2fe264a5c36161c5ae6a858994a5658f0bef7e7407af1c057b64e", kill_on_drop: false }` [INFO] [stdout] 0149f739b3d2fe264a5c36161c5ae6a858994a5658f0bef7e7407af1c057b64e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 798ee66aa8d792927bb0269d994f5aa5585254d575b3889e53b3d25633313c84 [INFO] running `Command { std: "docker" "start" "-a" "798ee66aa8d792927bb0269d994f5aa5585254d575b3889e53b3d25633313c84", kill_on_drop: false }` [INFO] [stderr] Compiling nvdialog-sys v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "798ee66aa8d792927bb0269d994f5aa5585254d575b3889e53b3d25633313c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798ee66aa8d792927bb0269d994f5aa5585254d575b3889e53b3d25633313c84", kill_on_drop: false }` [INFO] [stdout] 798ee66aa8d792927bb0269d994f5aa5585254d575b3889e53b3d25633313c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1aea0e74ecf110c1cfc697f5f7d902b1d639ee92228e8238d442b44097fa8d0e [INFO] running `Command { std: "docker" "start" "-a" "1aea0e74ecf110c1cfc697f5f7d902b1d639ee92228e8238d442b44097fa8d0e", kill_on_drop: false }` [INFO] [stderr] Compiling nvdialog-sys v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nvdialog_sys-70099adeef219d7c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test ffi::bindgen_test_layout_NvdVersion ... ok [INFO] [stdout] test ffi::bindgen_test_layout_max_align_t ... ok [INFO] [stdout] test ffi::bindgen_test_layout___fsid_t ... ok [INFO] [stderr] Doc-tests nvdialog_sys [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs - ffi::NvdDialogBox (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs - ffi::NvdDialogBox (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `nvd_show_dialog` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 3 | nvd_show_dialog(dialog); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use nvdialog_sys::ffi::nvd_show_dialog; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dialog` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 3 | nvd_show_dialog(dialog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nvd_free_object` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 4 | nvd_free_object(dialog); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use nvdialog_sys::ffi::nvd_free_object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dialog` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 4 | nvd_free_object(dialog); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 2 | ...in() { #[allow(non_snake_case)] fn _doctest_main__opt_rustwide_target_debug_build_nvdialog_sys_59dfc921a61f5a96_out_bindings_rs_15_0() { [INFO] [stdout] | - help: try adding a return type: `-> i32` [INFO] [stdout] ... [INFO] [stdout] 6 | ...rn 0; [INFO] [stdout] | ^ expected `()`, found integer [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] /opt/rustwide/target/debug/build/nvdialog-sys-59dfc921a61f5a96/out/bindings.rs - ffi::NvdDialogBox (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1aea0e74ecf110c1cfc697f5f7d902b1d639ee92228e8238d442b44097fa8d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aea0e74ecf110c1cfc697f5f7d902b1d639ee92228e8238d442b44097fa8d0e", kill_on_drop: false }` [INFO] [stdout] 1aea0e74ecf110c1cfc697f5f7d902b1d639ee92228e8238d442b44097fa8d0e