[INFO] fetching crate magnus-macros 0.8.0... [INFO] testing magnus-macros-0.8.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate magnus-macros 0.8.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate magnus-macros 0.8.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3394c402fe40b476fa30b09e5affceafc4a699d63a228fb4a32d86e72efefac4 [INFO] running `Command { std: "docker" "start" "-a" "3394c402fe40b476fa30b09e5affceafc4a699d63a228fb4a32d86e72efefac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3394c402fe40b476fa30b09e5affceafc4a699d63a228fb4a32d86e72efefac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3394c402fe40b476fa30b09e5affceafc4a699d63a228fb4a32d86e72efefac4", kill_on_drop: false }` [INFO] [stdout] 3394c402fe40b476fa30b09e5affceafc4a699d63a228fb4a32d86e72efefac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf45832cc93cb5f635aa220c21437f58019ea63cefda0c867398cf2cb74369b [INFO] running `Command { std: "docker" "start" "-a" "9bf45832cc93cb5f635aa220c21437f58019ea63cefda0c867398cf2cb74369b", 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.61s [INFO] running `Command { std: "docker" "inspect" "9bf45832cc93cb5f635aa220c21437f58019ea63cefda0c867398cf2cb74369b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf45832cc93cb5f635aa220c21437f58019ea63cefda0c867398cf2cb74369b", kill_on_drop: false }` [INFO] [stdout] 9bf45832cc93cb5f635aa220c21437f58019ea63cefda0c867398cf2cb74369b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68003ecf7c9135f2f5fc38357c1d0d4f714d63c43b7a95a7e550fd749399c9d0 [INFO] running `Command { std: "docker" "start" "-a" "68003ecf7c9135f2f5fc38357c1d0d4f714d63c43b7a95a7e550fd749399c9d0", 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.65s [INFO] running `Command { std: "docker" "inspect" "68003ecf7c9135f2f5fc38357c1d0d4f714d63c43b7a95a7e550fd749399c9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68003ecf7c9135f2f5fc38357c1d0d4f714d63c43b7a95a7e550fd749399c9d0", kill_on_drop: false }` [INFO] [stdout] 68003ecf7c9135f2f5fc38357c1d0d4f714d63c43b7a95a7e550fd749399c9d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d84d7ba96f90b8a340cac67146fd43de5055214a2d11d3cdd247f2c1c59ce3d [INFO] running `Command { std: "docker" "start" "-a" "9d84d7ba96f90b8a340cac67146fd43de5055214a2d11d3cdd247f2c1c59ce3d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [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 - wrap (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 248) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 464) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 485) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 412) ... FAILED [INFO] [stdout] test src/lib.rs - wrap (line 278) ... FAILED [INFO] [stdout] test src/lib.rs - derive_typed_data (line 442) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 52) ... 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] 87 | #[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 - 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] 191 | 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] 191 | 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 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] 159 | 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] 159 | 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] 175 | #[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 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] 217 | 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] 217 | 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] 237 | #[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 - (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] 10 | #[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] 4 | #[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] 11 | 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] 11 | 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 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] 251 | 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] 251 | 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 464) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `magnus` [INFO] [stdout] --> src/lib.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | 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] 470 | #[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 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] 486 | 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] 486 | 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] 530 | #[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] 499 | #[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] 501 | #[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] 503 | #[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] 492 | #[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] 531 | 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 - 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] 46 | #[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] 48 | 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] 47 | 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 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] 413 | 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] 413 | 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] 433 | #[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] 416 | #[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 - 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] 281 | 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] 281 | 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] 300 | #[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] 285 | #[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] 284 + #[derive(TypedData)] [INFO] [stdout] 285 | 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] 287 | #[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] 284 + #[derive(TypedData)] [INFO] [stdout] 285 | 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] 301 | 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] ---- 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] 443 | 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] 443 | 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] 453 | #[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] 447 | #[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] 446 + #[derive(TypedData)] [INFO] [stdout] 447 | 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] 449 | #[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] 446 + #[derive(TypedData)] [INFO] [stdout] 447 | 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 - 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] 53 | 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] 53 | 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] 75 | #[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] 55 | #[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] [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.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9d84d7ba96f90b8a340cac67146fd43de5055214a2d11d3cdd247f2c1c59ce3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d84d7ba96f90b8a340cac67146fd43de5055214a2d11d3cdd247f2c1c59ce3d", kill_on_drop: false }` [INFO] [stdout] 9d84d7ba96f90b8a340cac67146fd43de5055214a2d11d3cdd247f2c1c59ce3d