[INFO] fetching crate ruby-sys 0.3.0... [INFO] checking ruby-sys-0.3.0 against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] extracting crate ruby-sys 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ruby-sys 0.3.0 [INFO] finished tweaking crates.io crate ruby-sys 0.3.0 [INFO] tweaked toml for crates.io crate ruby-sys 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ruby-sys 0.3.0 on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "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" "+969026c535f4240ff7866ef11207dfda18a26af6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccc0a2312c5e5274e68cd2ad1da4380362605ba8a7360f1494efe7135e9d4317 [INFO] running `Command { std: "docker" "start" "-a" "ccc0a2312c5e5274e68cd2ad1da4380362605ba8a7360f1494efe7135e9d4317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccc0a2312c5e5274e68cd2ad1da4380362605ba8a7360f1494efe7135e9d4317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc0a2312c5e5274e68cd2ad1da4380362605ba8a7360f1494efe7135e9d4317", kill_on_drop: false }` [INFO] [stdout] ccc0a2312c5e5274e68cd2ad1da4380362605ba8a7360f1494efe7135e9d4317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b0b57267fc918a2657c6d2db4b7eed934005744f2a45423b264aeb4d1942561 [INFO] running `Command { std: "docker" "start" "-a" "3b0b57267fc918a2657c6d2db4b7eed934005744f2a45423b264aeb4d1942561", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ruby-sys v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 56 | panic!("{}", msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/util.rs:6:92 [INFO] [stdout] | [INFO] [stdout] 6 | ...rgc: Argc, argv: *const Value, block: extern fn(Value, Value, Argc, *const Value) -> Value, outer_scope: Value) -> Value; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/util.rs:6:92 [INFO] [stdout] | [INFO] [stdout] 6 | ...rgc: Argc, argv: *const Value, block: extern fn(Value, Value, Argc, *const Value) -> Value, outer_scope: Value) -> Value; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/array.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Flag = FL_USER_1, [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/array.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | LenMask = FL_USER_4 | FL_USER_3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/array.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | LenShift = FL_USHIFT + 3, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/array.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Flag = FL_USER_1, [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/array.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | LenMask = FL_USER_4 | FL_USER_3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/array.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | LenShift = FL_USHIFT + 3, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | NoEmbed = FL_USER_1, [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | NoEmbed = FL_USER_1, [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | LenMask = FL_USER_2 | FL_USER_3 | FL_USER_4 | FL_USER_5 | FL_USER_6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | LenMask = FL_USER_2 | FL_USER_3 | FL_USER_4 | FL_USER_5 | FL_USER_6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | LenShift = FL_USHIFT + 2, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | LenShift = FL_USHIFT + 2, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i64`, found `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_name]` attribute cannot be used on enums [INFO] [stdout] --> src/value.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[link_name = "ruby_value_type"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_name]` can be applied to foreign functions and foreign statics [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_name]` attribute cannot be used on enums [INFO] [stdout] --> src/value.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[link_name = "ruby_value_type"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_name]` can be applied to foreign functions and foreign statics [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruby-sys` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ruby-sys` (lib) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b0b57267fc918a2657c6d2db4b7eed934005744f2a45423b264aeb4d1942561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0b57267fc918a2657c6d2db4b7eed934005744f2a45423b264aeb4d1942561", kill_on_drop: false }` [INFO] [stdout] 3b0b57267fc918a2657c6d2db4b7eed934005744f2a45423b264aeb4d1942561