[INFO] cloning repository https://github.com/eduidl/rust-ffi-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduidl/rust-ffi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55ae75112855ce81fc0f31ae21f4317f5942ab90 [INFO] testing eduidl/rust-ffi-example against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eduidl/rust-ffi-example on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eduidl/rust-ffi-example [INFO] finished tweaking git repo https://github.com/eduidl/rust-ffi-example [INFO] tweaked toml for git repo https://github.com/eduidl/rust-ffi-example written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eduidl/rust-ffi-example 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_lex v0.2.2 [INFO] [stderr] Downloaded clap v3.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eee5d1084897edee4f8b17ddf0b8af1f81188672c63caec25d11b34b3bb208e9 [INFO] running `Command { std: "docker" "start" "-a" "eee5d1084897edee4f8b17ddf0b8af1f81188672c63caec25d11b34b3bb208e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eee5d1084897edee4f8b17ddf0b8af1f81188672c63caec25d11b34b3bb208e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee5d1084897edee4f8b17ddf0b8af1f81188672c63caec25d11b34b3bb208e9", kill_on_drop: false }` [INFO] [stdout] eee5d1084897edee4f8b17ddf0b8af1f81188672c63caec25d11b34b3bb208e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84627fc1661daa365b705b7d2edeb23ce5570b3d26657a8b7b7c429db1217fc2 [INFO] running `Command { std: "docker" "start" "-a" "84627fc1661daa365b705b7d2edeb23ce5570b3d26657a8b7b7c429db1217fc2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap_lex v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clap v3.2.5 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling c_vec v2.0.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys) [INFO] [stderr] Compiling ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example) [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> ffi-example/src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> ffi-example/src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | drop(slice); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&[i32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 47 - drop(slice); [INFO] [stdout] 47 + let _ = slice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.81s [INFO] running `Command { std: "docker" "inspect" "84627fc1661daa365b705b7d2edeb23ce5570b3d26657a8b7b7c429db1217fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84627fc1661daa365b705b7d2edeb23ce5570b3d26657a8b7b7c429db1217fc2", kill_on_drop: false }` [INFO] [stdout] 84627fc1661daa365b705b7d2edeb23ce5570b3d26657a8b7b7c429db1217fc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dfaf6de3556515d5478d0dab497709f4c1b1bd358bec0679556d96528c7647a [INFO] running `Command { std: "docker" "start" "-a" "6dfaf6de3556515d5478d0dab497709f4c1b1bd358bec0679556d96528c7647a", kill_on_drop: false }` [INFO] [stderr] Compiling ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys) [INFO] [stderr] Compiling ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example) [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> ffi-example/src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> ffi-example/src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | drop(slice); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&[i32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 47 - drop(slice); [INFO] [stdout] 47 + let _ = slice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "6dfaf6de3556515d5478d0dab497709f4c1b1bd358bec0679556d96528c7647a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfaf6de3556515d5478d0dab497709f4c1b1bd358bec0679556d96528c7647a", kill_on_drop: false }` [INFO] [stdout] 6dfaf6de3556515d5478d0dab497709f4c1b1bd358bec0679556d96528c7647a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 477c58b72f824bc0fa8614f8d74c4a31d7cd0c973ea956fbd4dc439a4fa37d24 [INFO] running `Command { std: "docker" "start" "-a" "477c58b72f824bc0fa8614f8d74c4a31d7cd0c973ea956fbd4dc439a4fa37d24", kill_on_drop: false }` [INFO] [stderr] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stderr] --> ffi-example/src/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | #[allow(temporary_cstring_as_ptr)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> ffi-example/src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | drop(slice); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&[i32]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 47 - drop(slice); [INFO] [stderr] 47 + let _ = slice; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ffi-example` (bin "ffi-example" test) generated 2 warnings (run `cargo fix --bin "ffi-example" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ffi_example-ab7156a23f179cbb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffi_example_sys-a9d3c05a9cec721c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test bindgen_test_layout_max_align_t ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ffi_example_sys [INFO] [stderr] error: failed to create temporary directory: Custom { kind: StorageFull, error: PathError { path: "/tmp/rustdoctest0vkZu5", err: Os { code: 28, kind: StorageFull, message: "No space left on device" } } } [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `-p ffi-example-sys --doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name ffi_example_sys --test ffi-example-sys/src/lib.rs --test-run-directory /opt/rustwide/workdir/ffi-example-sys -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/target/debug/build/ffi-example-sys-f033bd7e27e5b0cd/out --extern ffi_example_sys=/opt/rustwide/target/debug/deps/libffi_example_sys-c691bdfd6f78fd1c.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --cap-lints=warn --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "477c58b72f824bc0fa8614f8d74c4a31d7cd0c973ea956fbd4dc439a4fa37d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477c58b72f824bc0fa8614f8d74c4a31d7cd0c973ea956fbd4dc439a4fa37d24", kill_on_drop: false }` [INFO] [stdout] 477c58b72f824bc0fa8614f8d74c4a31d7cd0c973ea956fbd4dc439a4fa37d24