[INFO] fetching crate gdnative-derive 0.10.0... [INFO] testing gdnative-derive-0.10.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate gdnative-derive 0.10.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate gdnative-derive 0.10.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gdnative-derive 0.10.0 [INFO] finished tweaking crates.io crate gdnative-derive 0.10.0 [INFO] tweaked toml for crates.io crate gdnative-derive 0.10.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8fb415b60b3408d529f5d30532471033de77dec7f89318abecce546e1bf3476f [INFO] running `Command { std: "docker" "start" "-a" "8fb415b60b3408d529f5d30532471033de77dec7f89318abecce546e1bf3476f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb415b60b3408d529f5d30532471033de77dec7f89318abecce546e1bf3476f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb415b60b3408d529f5d30532471033de77dec7f89318abecce546e1bf3476f", kill_on_drop: false }` [INFO] [stdout] 8fb415b60b3408d529f5d30532471033de77dec7f89318abecce546e1bf3476f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de12a410f362ab4ede82cc6e30902345a186f579e8f9cf5d682b32be0decd308 [INFO] running `Command { std: "docker" "start" "-a" "de12a410f362ab4ede82cc6e30902345a186f579e8f9cf5d682b32be0decd308", kill_on_drop: false }` [INFO] [stderr] Compiling gdnative-derive v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.53s [INFO] running `Command { std: "docker" "inspect" "de12a410f362ab4ede82cc6e30902345a186f579e8f9cf5d682b32be0decd308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de12a410f362ab4ede82cc6e30902345a186f579e8f9cf5d682b32be0decd308", kill_on_drop: false }` [INFO] [stdout] de12a410f362ab4ede82cc6e30902345a186f579e8f9cf5d682b32be0decd308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0dd9fae891e7e458b743e85fd73910b3919fc04150cafd7c97c5a06fa72da2e0 [INFO] running `Command { std: "docker" "start" "-a" "0dd9fae891e7e458b743e85fd73910b3919fc04150cafd7c97c5a06fa72da2e0", kill_on_drop: false }` [INFO] [stderr] Compiling gdnative-derive v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.25s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gdnative_derive-e4263b536b603de5) [INFO] running `Command { std: "docker" "inspect" "0dd9fae891e7e458b743e85fd73910b3919fc04150cafd7c97c5a06fa72da2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd9fae891e7e458b743e85fd73910b3919fc04150cafd7c97c5a06fa72da2e0", kill_on_drop: false }` [INFO] [stdout] 0dd9fae891e7e458b743e85fd73910b3919fc04150cafd7c97c5a06fa72da2e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2447e7911b0c495a2da5abfcd3e949119f315c30cae3141b9ca8020a20cfd962 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2447e7911b0c495a2da5abfcd3e949119f315c30cae3141b9ca8020a20cfd962", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gdnative_derive-e4263b536b603de5) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test native_script::tests::derive_property ... ok [INFO] [stdout] test native_script::tests::derive_property_no_editor ... ok [INFO] [stdout] test native_script::tests::derive_property_get_set ... ok [INFO] [stdout] test native_script::tests::derive_property_default_get_set ... ok [INFO] [stdout] test native_script::tests::derive_property_default_get_ref ... ok [INFO] [stdout] test native_script::tests::derive_property_combinations ... ok [INFO] [stderr] Doc-tests gdnative-derive [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/lib.rs - derive_from_varargs (line 439) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 251) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 280) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 287) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 294) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 301) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 308) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 315) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 322) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 329) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 336) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 347) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 354) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 361) ... ignored [INFO] [stdout] test src/lib.rs - derive_native_class (line 368) ... ignored [INFO] [stdout] test src/lib.rs - profiled (line 104) ... ignored [INFO] [stdout] test src/lib.rs - profiled (line 114) ... ignored [INFO] [stdout] test src/lib.rs - methods (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - derive_native_class (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - methods (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - methods (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gdnative::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `methods` in this scope [INFO] [stdout] --> src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[methods] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] gdnative_derive::methods [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> src/lib.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[export] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `expect` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NativeClass` in this scope [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NativeClass)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] gdnative_derive::NativeClass [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inherit` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[inherit(Reference)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `no_constructor` in this scope [INFO] [stdout] --> src/lib.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_constructor] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/lib.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 13 | fn foo(&self, _owner: &Reference, bar: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Expr::Reference` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 13 | fn foo(&self, _owner: &syn::Expr, bar: i64) -> i64 { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] 13 | fn foo(&self, _owner: &syn::Pat, bar: i64) -> i64 { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 13 | fn foo(&self, _owner: &syn::Type, bar: i64) -> i64 { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_native_class (line 164) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gdnative::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gdnative::export::hint::{RangeHint, FloatHint}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `gdnative::export::hint::RangeHint`, `gdnative::export::hint::FloatHint` [INFO] [stdout] --> src/lib.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 4 | use gdnative::export::hint::{RangeHint, FloatHint}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `methods` in this scope [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[methods] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] gdnative_derive::methods [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NativeClass` in this scope [INFO] [stdout] --> src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NativeClass)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] gdnative_derive::NativeClass [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inherit` in this scope [INFO] [stdout] --> src/lib.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[inherit(Reference)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `register_with` in this scope [INFO] [stdout] --> src/lib.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[register_with(Self::my_register_function)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `register_attr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatHint` [INFO] [stdout] --> src/lib.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 20 | .with_hint(FloatHint::Range(RangeHint::new(0.0, 100.0))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FloatHint` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeHint` [INFO] [stdout] --> src/lib.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 20 | .with_hint(FloatHint::Range(RangeHint::new(0.0, 100.0))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RangeHint` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/lib.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(_: &Reference) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Expr::Reference` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 13 | fn new(_: &syn::Expr) -> Self { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] 13 | fn new(_: &syn::Pat) -> Self { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 13 | fn new(_: &syn::Type) -> Self { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClassBuilder` in this scope [INFO] [stdout] --> src/lib.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn my_register_function(builder: &ClassBuilder) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - methods (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gdnative::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 14 | use gdnative::export::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gdnative::export::*` [INFO] [stdout] --> src/lib.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 14 | use gdnative::export::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 15 | builder.method("foo", gdnative::export::godot_wrap_method!(Foo, fn foo(&self, _owner: &Reference, bar: i64) -> i64)) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 6 | type Base = gdnative::api::Reference; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 7 | type UserData = gdnative::export::user_data::LocalCellData; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 9 | impl gdnative::export::StaticallyNamed for Foo { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gdnative` [INFO] [stdout] --> src/lib.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl gdnative::export::NativeClassMethods for Foo { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `gdnative` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RpcMode` [INFO] [stdout] --> src/lib.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 16 | .with_rpc_mode(RpcMode::Disabled) [INFO] [stdout] | ^^^^^^^ use of undeclared type `RpcMode` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NativeClass` in this scope [INFO] [stdout] --> src/lib.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl NativeClass for Foo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClassBuilder` in this scope [INFO] [stdout] --> src/lib.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn register(builder: &ClassBuilder) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/lib.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn foo(&self, _owner: &Reference, bar: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `syn::Expr::Reference` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 21 | fn foo(&self, _owner: &syn::Expr, bar: i64) -> i64 { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] 21 | fn foo(&self, _owner: &syn::Pat, bar: i64) -> i64 { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 21 | fn foo(&self, _owner: &syn::Type, bar: i64) -> i64 { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_native_class (line 164) [INFO] [stdout] src/lib.rs - methods (line 22) [INFO] [stdout] src/lib.rs - methods (line 40) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 17 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2447e7911b0c495a2da5abfcd3e949119f315c30cae3141b9ca8020a20cfd962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2447e7911b0c495a2da5abfcd3e949119f315c30cae3141b9ca8020a20cfd962", kill_on_drop: false }` [INFO] [stdout] 2447e7911b0c495a2da5abfcd3e949119f315c30cae3141b9ca8020a20cfd962