[INFO] fetching crate magnus 0.8.2... [INFO] testing magnus-0.8.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate magnus 0.8.2 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate magnus 0.8.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate magnus 0.8.2 [INFO] tweaked toml for crates.io crate magnus 0.8.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate magnus 0.8.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate magnus 0.8.2 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rb-sys-env v0.2.2 [INFO] [stderr] Downloaded magnus-macros v0.8.0 [INFO] [stderr] Downloaded quote v1.0.32 [INFO] [stderr] Downloaded rb-sys v0.9.117 [INFO] [stderr] Downloaded rb-sys-build v0.9.117 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] [stderr] Downloaded bindgen v0.69.1 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35b725570e71ffec34fc988e874618a3ada916c2b1f569e2ee5e9e9aac132e01 [INFO] running `Command { std: "docker" "start" "-a" "35b725570e71ffec34fc988e874618a3ada916c2b1f569e2ee5e9e9aac132e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35b725570e71ffec34fc988e874618a3ada916c2b1f569e2ee5e9e9aac132e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b725570e71ffec34fc988e874618a3ada916c2b1f569e2ee5e9e9aac132e01", kill_on_drop: false }` [INFO] [stdout] 35b725570e71ffec34fc988e874618a3ada916c2b1f569e2ee5e9e9aac132e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d41cee4450988cead4542d26f130af1dfc619f480f2dc16c43f1b5b670c29f8 [INFO] running `Command { std: "docker" "start" "-a" "0d41cee4450988cead4542d26f130af1dfc619f480f2dc16c43f1b5b670c29f8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling rb-sys-env v0.2.2 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling magnus v0.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling magnus-macros v0.8.0 [INFO] [stderr] Compiling rb-sys-build v0.9.117 [INFO] [stderr] Compiling rb-sys v0.9.117 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/value.rs:2421:21 [INFO] [stdout] | [INFO] [stdout] 2421 | let x = transmute::<_, usize>(n as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 2421 - let x = transmute::<_, usize>(n as isize); [INFO] [stdout] 2421 + let x = isize::cast_unsigned(n as isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.14s [INFO] running `Command { std: "docker" "inspect" "0d41cee4450988cead4542d26f130af1dfc619f480f2dc16c43f1b5b670c29f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d41cee4450988cead4542d26f130af1dfc619f480f2dc16c43f1b5b670c29f8", kill_on_drop: false }` [INFO] [stdout] 0d41cee4450988cead4542d26f130af1dfc619f480f2dc16c43f1b5b670c29f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 430a4da764bef6122b467783d9b58c83c78ecabf99bee05be5d88e66280dcb1d [INFO] running `Command { std: "docker" "start" "-a" "430a4da764bef6122b467783d9b58c83c78ecabf99bee05be5d88e66280dcb1d", kill_on_drop: false }` [INFO] [stderr] Compiling rb-sys v0.9.117 [INFO] [stderr] Compiling magnus v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/value.rs:2421:21 [INFO] [stdout] | [INFO] [stdout] 2421 | let x = transmute::<_, usize>(n as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 2421 - let x = transmute::<_, usize>(n as isize); [INFO] [stdout] 2421 + let x = isize::cast_unsigned(n as isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/value.rs:2421:21 [INFO] [stdout] | [INFO] [stdout] 2421 | let x = transmute::<_, usize>(n as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 2421 - let x = transmute::<_, usize>(n as isize); [INFO] [stdout] 2421 + let x = isize::cast_unsigned(n as isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus::embed` [INFO] [stdout] --> tests/typed_data.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use magnus::{embed::init, eval, rb_assert, Ruby, Value}; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `embed` in `magnus` [INFO] [stdout] --> tests/enumerator.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | let ruby = unsafe { magnus::embed::init() }; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus::embed` [INFO] [stdout] --> tests/typed_data_obj.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | embed::init, function, gc, method, prelude::*, typed_data::Obj, value::Opaque, [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "typed_data") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `embed` in `magnus` [INFO] [stdout] --> tests/integer_convert_to_value.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | let ruby = unsafe { magnus::embed::init() }; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "enumerator") due to 1 previous error [INFO] [stdout] error[E0433]: cannot find `embed` in `magnus` [INFO] [stdout] --> tests/debug_exception.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | let ruby = unsafe { magnus::embed::init() }; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `embed` in `magnus` [INFO] [stdout] --> tests/scan_args.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let ruby = unsafe { magnus::embed::init() }; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "debug_exception") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "typed_data_obj") due to 1 previous error [INFO] [stdout] error[E0433]: cannot find `embed` in `magnus` [INFO] [stdout] --> tests/fmt.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | let ruby = unsafe { magnus::embed::init() }; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `embed` in `magnus` [INFO] [stdout] --> tests/encoding_capable.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | let ruby = unsafe { magnus::embed::init() }; [INFO] [stdout] | ^^^^^ could not find `embed` in `magnus` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:1795:9 [INFO] [stdout] | [INFO] [stdout] 1793 | #[cfg(feature = "embed")] [INFO] [stdout] | ----------------- the item is gated behind the `embed` feature [INFO] [stdout] 1794 | #[cfg_attr(docsrs, doc(cfg(feature = "embed")))] [INFO] [stdout] 1795 | pub mod embed; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "scan_args") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "encoding_capable") due to 1 previous error [INFO] [stderr] error: could not compile `magnus` (test "integer_convert_to_value") due to 1 previous error [INFO] [stderr] error: could not compile `magnus` (test "fmt") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "430a4da764bef6122b467783d9b58c83c78ecabf99bee05be5d88e66280dcb1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430a4da764bef6122b467783d9b58c83c78ecabf99bee05be5d88e66280dcb1d", kill_on_drop: false }` [INFO] [stdout] 430a4da764bef6122b467783d9b58c83c78ecabf99bee05be5d88e66280dcb1d