[INFO] fetching crate magnus 0.8.0... [INFO] testing magnus-0.8.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate magnus 0.8.0 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.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate magnus 0.8.0 [INFO] tweaked toml for crates.io crate magnus 0.8.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate magnus 0.8.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate magnus 0.8.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rb-sys v0.9.117 [INFO] [stderr] Downloaded shlex v1.1.0 [INFO] [stderr] Downloaded magnus-macros v0.8.0 [INFO] [stderr] Downloaded rb-sys-env v0.2.2 [INFO] [stderr] Downloaded rb-sys-build v0.9.117 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded bindgen v0.69.1 [INFO] [stderr] Downloaded syn v2.0.28 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8f211ff3b6fb535dfc6b384d8412f57d9fa6bcf04b6ff4050969c0abe58149c [INFO] running `Command { std: "docker" "start" "-a" "d8f211ff3b6fb535dfc6b384d8412f57d9fa6bcf04b6ff4050969c0abe58149c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8f211ff3b6fb535dfc6b384d8412f57d9fa6bcf04b6ff4050969c0abe58149c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f211ff3b6fb535dfc6b384d8412f57d9fa6bcf04b6ff4050969c0abe58149c", kill_on_drop: false }` [INFO] [stdout] d8f211ff3b6fb535dfc6b384d8412f57d9fa6bcf04b6ff4050969c0abe58149c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c5802927aa0e325293db4ed4c1f179e62af1a882c70d29396dcfd2c8a5add26 [INFO] running `Command { std: "docker" "start" "-a" "3c5802927aa0e325293db4ed4c1f179e62af1a882c70d29396dcfd2c8a5add26", 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 libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.0 [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 magnus v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [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] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.01s [INFO] running `Command { std: "docker" "inspect" "3c5802927aa0e325293db4ed4c1f179e62af1a882c70d29396dcfd2c8a5add26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5802927aa0e325293db4ed4c1f179e62af1a882c70d29396dcfd2c8a5add26", kill_on_drop: false }` [INFO] [stdout] 3c5802927aa0e325293db4ed4c1f179e62af1a882c70d29396dcfd2c8a5add26 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6429545b45a2fb3bd050b16c48c9ba10756a6d60d43df2cff1a8c7cd233f0770 [INFO] running `Command { std: "docker" "start" "-a" "6429545b45a2fb3bd050b16c48c9ba10756a6d60d43df2cff1a8c7cd233f0770", kill_on_drop: false }` [INFO] [stderr] Compiling rb-sys v0.9.117 [INFO] [stderr] Compiling magnus v0.8.0 (/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] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [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] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [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] --> /opt/rustwide/workdir/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[E0599]: no function or associated item named `init` found for struct `Ruby` in the current scope [INFO] [stdout] --> examples/hello_world.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ function or associated item not found in `Ruby` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ruby` consider using one of the following associated functions: [INFO] [stdout] Ruby::get [INFO] [stdout] Ruby::get_with [INFO] [stdout] Ruby::get_unchecked [INFO] [stdout] --> /opt/rustwide/workdir/src/api.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / pub fn get_with(value: T) -> Self [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | T: ReprValue, [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub unsafe fn get_unchecked() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 E0599`. [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] [stderr] error: could not compile `magnus` (example "hello_world") due to 1 previous error [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Ruby` in the current scope [INFO] [stdout] --> examples/fibonacci.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ function or associated item not found in `Ruby` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ruby` consider using one of the following associated functions: [INFO] [stdout] Ruby::get [INFO] [stdout] Ruby::get_with [INFO] [stdout] Ruby::get_unchecked [INFO] [stdout] --> /opt/rustwide/workdir/src/api.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / pub fn get_with(value: T) -> Self [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | T: ReprValue, [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub unsafe fn get_unchecked() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] --> /opt/rustwide/workdir/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[E0599]: no function or associated item named `init` found for struct `Ruby` in the current scope [INFO] [stdout] --> tests/integer_traits.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ function or associated item not found in `Ruby` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ruby` consider using one of the following associated functions: [INFO] [stdout] Ruby::get [INFO] [stdout] Ruby::get_with [INFO] [stdout] Ruby::get_unchecked [INFO] [stdout] --> /opt/rustwide/workdir/src/api.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / pub fn get_with(value: T) -> Self [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | T: ReprValue, [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub unsafe fn get_unchecked() -> Self { [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 E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "fmt") due to 1 previous error [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Ruby` in the current scope [INFO] [stdout] --> examples/inheritance.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ function or associated item not found in `Ruby` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ruby` consider using one of the following associated functions: [INFO] [stdout] Ruby::get [INFO] [stdout] Ruby::get_with [INFO] [stdout] Ruby::get_unchecked [INFO] [stdout] --> /opt/rustwide/workdir/src/api.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / pub fn get_with(value: T) -> Self [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | T: ReprValue, [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub unsafe fn get_unchecked() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (example "fibonacci") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "integer_traits") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/float_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] --> /opt/rustwide/workdir/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 E0599`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/classname.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] --> /opt/rustwide/workdir/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] [stderr] error: could not compile `magnus` (example "inheritance") due to 1 previous error [INFO] [stderr] error: could not compile `magnus` (test "float_convert_to_value") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "classname") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6429545b45a2fb3bd050b16c48c9ba10756a6d60d43df2cff1a8c7cd233f0770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6429545b45a2fb3bd050b16c48c9ba10756a6d60d43df2cff1a8c7cd233f0770", kill_on_drop: false }` [INFO] [stdout] 6429545b45a2fb3bd050b16c48c9ba10756a6d60d43df2cff1a8c7cd233f0770