[INFO] fetching crate magnus 0.8.1... [INFO] building magnus-0.8.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate magnus 0.8.1 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate magnus 0.8.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate magnus 0.8.1 [INFO] tweaked toml for crates.io crate magnus 0.8.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate magnus 0.8.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate magnus 0.8.1 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbf30d51c54ce353d23d95dbbeb6eec3aacab0133128466b365cebe7cdccf670 [INFO] running `Command { std: "docker" "start" "-a" "dbf30d51c54ce353d23d95dbbeb6eec3aacab0133128466b365cebe7cdccf670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbf30d51c54ce353d23d95dbbeb6eec3aacab0133128466b365cebe7cdccf670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf30d51c54ce353d23d95dbbeb6eec3aacab0133128466b365cebe7cdccf670", kill_on_drop: false }` [INFO] [stdout] dbf30d51c54ce353d23d95dbbeb6eec3aacab0133128466b365cebe7cdccf670 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5ef9ae3cdf87da461a61f54bc6a3dbc3d76fa5e90c13ef95b264146caa9bc66 [INFO] running `Command { std: "docker" "start" "-a" "d5ef9ae3cdf87da461a61f54bc6a3dbc3d76fa5e90c13ef95b264146caa9bc66", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling glob v0.3.1 [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 minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling rb-sys-env v0.2.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling magnus v0.8.1 (/opt/rustwide/workdir) [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 27.73s [INFO] running `Command { std: "docker" "inspect" "d5ef9ae3cdf87da461a61f54bc6a3dbc3d76fa5e90c13ef95b264146caa9bc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ef9ae3cdf87da461a61f54bc6a3dbc3d76fa5e90c13ef95b264146caa9bc66", kill_on_drop: false }` [INFO] [stdout] d5ef9ae3cdf87da461a61f54bc6a3dbc3d76fa5e90c13ef95b264146caa9bc66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76330c37b272e68041b9ea9643f667a1c7e1cc0388e1feb728a6a1916096f574 [INFO] running `Command { std: "docker" "start" "-a" "76330c37b272e68041b9ea9643f667a1c7e1cc0388e1feb728a6a1916096f574", kill_on_drop: false }` [INFO] [stderr] Compiling rb-sys v0.9.117 [INFO] [stderr] Compiling magnus v0.8.1 (/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[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/freeze.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[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/string.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] [stdout] For more information about this error, try `rustc --explain E0433`. [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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/hello_world.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | ruby.define_global_function("hello", magnus::function!(hello, 1)); [INFO] [stdout] | ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | magnus::Ruby::init(|ruby: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "freeze") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/call_proc.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[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/yield.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | 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[E0433]: failed to resolve: could not 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] --> /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] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "string") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> tests/time.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use chrono::{DateTime, Datelike, FixedOffset, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [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` (test "call_proc") 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] --> 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] [stderr] error: could not compile `magnus` (test "enumerator") due to 1 previous error [INFO] [stderr] error: could not compile `magnus` (example "hello_world") due to 2 previous errors [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] error[E0599]: no function or associated item named `init` found for struct `Ruby` in the current scope [INFO] [stdout] --> examples/point.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 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/try_convert_array.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[E0282]: type annotations needed [INFO] [stdout] --> examples/point.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | let class = ruby.define_class("Point", ruby.class_object())?; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 28 | magnus::Ruby::init(|ruby: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "yield") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "try_convert_array") due to 1 previous error [INFO] [stderr] error: could not compile `magnus` (test "integer_traits") 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/mut_point.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | 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[E0282]: type annotations needed [INFO] [stdout] --> examples/mut_point.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | magnus::Ruby::init(|ruby| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | let class = ruby.define_class("Point", ruby.class_object())?; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 94 | magnus::Ruby::init(|ruby: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/enumeratorize.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[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/hash.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] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (example "point") due to 2 previous errors [INFO] [stderr] error: could not compile `magnus` (example "mut_point") due to 2 previous errors [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] [stdout] error[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/tuple_to_array.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 E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "hash") due to 1 previous error [INFO] [stderr] error: could not compile `magnus` (test "tuple_to_array") 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] --> tests/time.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | 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` (test "enumeratorize") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: could not find `embed` in `magnus` [INFO] [stdout] --> tests/bytes.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[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> tests/bytes.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(bytes::Bytes::from_static(&[0, 0, 0]), s.to_bytes()); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/bytes.rs, use `mod bytes` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod bytes; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] help: if you import `Bytes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(bytes::Bytes::from_static(&[0, 0, 0]), s.to_bytes()); [INFO] [stdout] 8 + assert_eq!(Bytes::from_static(&[0, 0, 0]), s.to_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnus` (test "bytes") due to 2 previous errors [INFO] [stderr] error: could not compile `magnus` (test "time") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "76330c37b272e68041b9ea9643f667a1c7e1cc0388e1feb728a6a1916096f574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76330c37b272e68041b9ea9643f667a1c7e1cc0388e1feb728a6a1916096f574", kill_on_drop: false }` [INFO] [stdout] 76330c37b272e68041b9ea9643f667a1c7e1cc0388e1feb728a6a1916096f574