[INFO] fetching crate magnus-macros 0.8.0... [INFO] testing magnus-macros-0.8.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate magnus-macros 0.8.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate magnus-macros 0.8.0 [INFO] finished tweaking crates.io crate magnus-macros 0.8.0 [INFO] tweaked toml for crates.io crate magnus-macros 0.8.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate magnus-macros 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-macros 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7cbac5165b227bf44891e1ac033646ef4e51b1c99678a4a9840def07dc553a8e [INFO] running `Command { std: "docker" "start" "-a" "7cbac5165b227bf44891e1ac033646ef4e51b1c99678a4a9840def07dc553a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cbac5165b227bf44891e1ac033646ef4e51b1c99678a4a9840def07dc553a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbac5165b227bf44891e1ac033646ef4e51b1c99678a4a9840def07dc553a8e", kill_on_drop: false }` [INFO] [stdout] 7cbac5165b227bf44891e1ac033646ef4e51b1c99678a4a9840def07dc553a8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 028cc12b4b8aa9945fadf94bd3a6704a5a0c82a25a2b3c3287b03fadcc896e59 [INFO] running `Command { std: "docker" "start" "-a" "028cc12b4b8aa9945fadf94bd3a6704a5a0c82a25a2b3c3287b03fadcc896e59", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling magnus-macros v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.85s [INFO] running `Command { std: "docker" "inspect" "028cc12b4b8aa9945fadf94bd3a6704a5a0c82a25a2b3c3287b03fadcc896e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028cc12b4b8aa9945fadf94bd3a6704a5a0c82a25a2b3c3287b03fadcc896e59", kill_on_drop: false }` [INFO] [stdout] 028cc12b4b8aa9945fadf94bd3a6704a5a0c82a25a2b3c3287b03fadcc896e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2cdc27b79c3a4c6c8d001835745706b5acacefd590b45e5744e2abd278769b0a [INFO] running `Command { std: "docker" "start" "-a" "2cdc27b79c3a4c6c8d001835745706b5acacefd590b45e5744e2abd278769b0a", kill_on_drop: false }` [INFO] [stderr] Compiling magnus-macros v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "2cdc27b79c3a4c6c8d001835745706b5acacefd590b45e5744e2abd278769b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cdc27b79c3a4c6c8d001835745706b5acacefd590b45e5744e2abd278769b0a", kill_on_drop: false }` [INFO] [stdout] 2cdc27b79c3a4c6c8d001835745706b5acacefd590b45e5744e2abd278769b0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] 2a3b6ef9f4f313b15d296eda7bd6f704c79d4c33b60485cf08e3c38e59e90e3f [INFO] running `Command { std: "docker" "start" "-a" "2a3b6ef9f4f313b15d296eda7bd6f704c79d4c33b60485cf08e3c38e59e90e3f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/magnus_macros-0919d0b289572d13) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests magnus_macros [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - init (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 485) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 464) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 442) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 248) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 412) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 278) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - init (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[magnus::init(name = "example")] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{function, method, prelude::*, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{function, method, prelude::*, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[magnus::wrap(class = "Euclid::Point", free_immediately, size)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 9 | ruby.define_global_function("distance", magnus::function!(distance, 2)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 8 | fn init(ruby: &magnus::Ruby) { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_typed_data (line 485) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:530:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:499:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[magnus(class = "Line", free_immediately, mark)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[magnus(opaque_attr_reader)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:503:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[magnus(opaque_attr_reader)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:492:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[magnus(class = "Point", size, free_immediately)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:531:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn init(ruby: &Ruby) -> Result<(), magnus::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wrap (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{function, prelude::*, wrap, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{function, prelude::*, wrap, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wrap (line 188) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{prelude::*, wrap}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{prelude::*, wrap}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wrap (line 214) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{function, method, prelude::*, wrap, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{function, method, prelude::*, wrap, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_typed_data (line 464) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{DataTypeFunctions, TypedData}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:470:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[magnus(class = "Name", size, free_immediately)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_typed_data (line 442) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{class, prelude::*, wrap, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{class, prelude::*, wrap, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:453:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:447:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[magnus(class = "Circle")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(TypedData)] [INFO] [stdout] 7 | enum Shape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:449:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[magnus(class = "Rectangle")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(TypedData)] [INFO] [stdout] 7 | enum Shape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wrap (line 248) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{prelude::*, wrap, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{prelude::*, wrap, Error, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_typed_data (line 412) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{function, prelude::*, DataTypeFunctions, Ruby, TypedData}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 3 | use magnus::{function, prelude::*, DataTypeFunctions, Ruby, TypedData}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:433:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:416:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[magnus(class = "Point", size, free_immediately)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[magnus::wrap(class = "RbPoint", free_immediately, size)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | fn init(ruby: &magnus::Ruby) -> Result<(), magnus::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 10 | fn init(ruby: &magnus::Ruby) -> Result<(), magnus::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wrap (line 278) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{function, method, prelude::*, wrap, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 5 | use magnus::{function, method, prelude::*, wrap, Ruby}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[magnus::init] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[magnus(class = "Circle")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(TypedData)] [INFO] [stdout] 9 | enum Shape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magnus` in this scope [INFO] [stdout] --> src/lib.rs:287:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[magnus(class = "Rectangle")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `magnus` is an attribute that can be used by the derive macro `TypedData`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(TypedData)] [INFO] [stdout] 9 | enum Shape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `magnus` [INFO] [stdout] --> src/lib.rs:301:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn init(ruby: &Ruby) -> Result<(), magnus::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `magnus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `magnus`, use `cargo add magnus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/lib.rs - derive_typed_data (line 412) [INFO] [stdout] src/lib.rs - derive_typed_data (line 442) [INFO] [stdout] src/lib.rs - derive_typed_data (line 464) [INFO] [stdout] src/lib.rs - derive_typed_data (line 485) [INFO] [stdout] src/lib.rs - init (line 41) [INFO] [stdout] src/lib.rs - init (line 52) [INFO] [stdout] src/lib.rs - init (line 86) [INFO] [stdout] src/lib.rs - wrap (line 158) [INFO] [stdout] src/lib.rs - wrap (line 188) [INFO] [stdout] src/lib.rs - wrap (line 214) [INFO] [stdout] src/lib.rs - wrap (line 248) [INFO] [stdout] src/lib.rs - wrap (line 278) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a3b6ef9f4f313b15d296eda7bd6f704c79d4c33b60485cf08e3c38e59e90e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3b6ef9f4f313b15d296eda7bd6f704c79d4c33b60485cf08e3c38e59e90e3f", kill_on_drop: false }` [INFO] [stdout] 2a3b6ef9f4f313b15d296eda7bd6f704c79d4c33b60485cf08e3c38e59e90e3f