[INFO] fetching crate ffi-support 0.4.4... [INFO] testing ffi-support-0.4.4 against 1.99.0-beta.8 for beta-1.100-4 [INFO] extracting crate ffi-support 0.4.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ffi-support 0.4.4 [INFO] finished tweaking crates.io crate ffi-support 0.4.4 [INFO] tweaked toml for crates.io crate ffi-support 0.4.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ffi-support 0.4.4 on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to highest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.11) [INFO] [stderr] Adding rand v0.7.3 (available: v0.10.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba [INFO] running `Command { std: "docker" "start" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.5.1 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling ffi-support v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/handle_map.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(v <= (U16_MAX as usize), "Bug: Doesn't fit in u16: {}", v); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/handle_map.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | use std::u16::MAX as U16_MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.190 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/handle_map.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(v <= (U16_MAX as usize), "Bug: Doesn't fit in u16: {}", v); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerocopy v0.8.62 [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/handle_map.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | use std::u16::MAX as U16_MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cfg-if v1.0.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.19.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ffi-support v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `coverage` [INFO] [stdout] --> src/handle_map.rs:1186:15 [INFO] [stdout] | [INFO] [stdout] 1186 | #[cfg(not(coverage))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [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(coverage)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage)");` 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: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/handle_map.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(v <= (U16_MAX as usize), "Bug: Doesn't fit in u16: {}", v); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/handle_map.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | use std::u16::MAX as U16_MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handle_map.rs:1212:9 [INFO] [stdout] | [INFO] [stdout] 1212 | fn test_panicking_call_with() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: into_ffi::IntoFfi` will fail [INFO] [stdout] --> src/handle_map.rs:1216:17 [INFO] [stdout] | [INFO] [stdout] 1216 | map.call_with_output(&mut e, h, |_thing| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 1216 | map.call_with_output::<(), _>(&mut e, h, |_thing| { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ffi-support v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::macros::*` [INFO] [stderr] --> src/lib.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | pub use crate::macros::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/handle_map.rs:156:19 [INFO] [stderr] | [INFO] [stderr] 156 | assert!(v <= (U16_MAX as usize), "Bug: Doesn't fit in u16: {}", v); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/handle_map.rs:154:19 [INFO] [stderr] | [INFO] [stderr] 154 | use std::u16::MAX as U16_MAX; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `ffi-support` (lib) generated 3 warnings (run `cargo fix --lib -p ffi-support` to apply 1 suggestion) [INFO] [stderr] warning: unexpected `cfg` condition name: `coverage` [INFO] [stderr] --> src/handle_map.rs:1186:15 [INFO] [stderr] | [INFO] [stderr] 1186 | #[cfg(not(coverage))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/handle_map.rs:1212:9 [INFO] [stderr] | [INFO] [stderr] 1212 | fn test_panicking_call_with() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: into_ffi::IntoFfi` will fail [INFO] [stderr] --> src/handle_map.rs:1216:17 [INFO] [stderr] | [INFO] [stderr] 1216 | map.call_with_output(&mut e, h, |_thing| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 1216 | map.call_with_output::<(), _>(&mut e, h, |_thing| { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `ffi-support` (lib test) generated 5 warnings (3 duplicates) (run `cargo fix --lib -p ffi-support --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ffi-support v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffi_support-0d7f01df56920d84) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test error::test::test_code ... ok [INFO] [stdout] test error::test::test_code_new_allowed ... ok [INFO] [stdout] test handle_map::test::test_wrong_map ... ok [INFO] [stdout] test test::test_bb_access ... ok [INFO] [stdout] test test::test_bb_empty ... ok [INFO] [stdout] test handle_map::test::test_bad_index ... ok [INFO] [stdout] test handle_map::test::test_correct_value_single ... ok [INFO] [stdout] test handle_map::test::test_correct_value_multiple ... ok [INFO] [stdout] test handle_map::test::test_invalid_handle ... ok [INFO] [stdout] test test::test_bb_new ... ok [INFO] [stdout] test error::test::test_code_new_reserved_panic - should panic ... ok [INFO] [stdout] test error::test::test_code_new_reserved_unknown - should panic ... ok [INFO] [stdout] test error::test::test_code_new_reserved_success - should panic ... ok [INFO] [stdout] test error::test::test_code_new_reserved_handle_error - should panic ... ok [INFO] [stdout] test handle_map::test::panic_tests::test_panicking_drop ... ok [INFO] [stdout] test handle_map::test::panic_tests::test_panicking_insert_with ... ok [INFO] [stdout] test handle_map::test::panic_tests::test_panicking_call_with ... ok [INFO] [stdout] test handle_map::test::test_resizing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-3d0a4e946e22b127) [INFO] [stdout] running 1 test [INFO] [stdout] test test_concurrent_drop ... ok [INFO] [stderr] Doc-tests ffi_support [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/handle_map.rs - handle_map::ConcurrentHandleMap (line 681) - compile ... ok [INFO] [stdout] test src/macros.rs - macros::static_assert (line 346) - compile fail ... ok [INFO] [stdout] test src/ffistr.rs - ffistr::FfiStr (line 40) - compile ... ok [INFO] [stdout] test src/error.rs - error::ExternError (line 105) - compile ... ok [INFO] [stdout] test src/lib.rs - call_with_result (line 151) - compile ... ok [INFO] [stdout] test src/into_ffi.rs - into_ffi::IntoFfi (line 89) ... ok [INFO] [stdout] test src/macros.rs - macros::define_string_destructor (line 193) ... ok [INFO] [stdout] test src/macros.rs - macros::define_bytebuffer_destructor (line 285) ... ok [INFO] [stdout] test src/macros.rs - macros::static_assert (line 352) ... ok [INFO] [stdout] test src/into_ffi.rs - into_ffi::IntoFfi (line 113) ... ok [INFO] [stdout] test src/ffistr.rs - ffistr::FfiStr (line 52) ... ok [INFO] [stdout] test src/macros.rs - macros::define_handle_map_deleter (line 314) ... ok [INFO] [stdout] test src/macros.rs - macros::define_box_destructor (line 242) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba", kill_on_drop: false }` [INFO] [stdout] 3ecc5b0c876a81c0ae7047ff61d3d188d597aaeaba8d7e94a1dc94e4d99893ba