[INFO] fetching crate gdext-gen 0.1.0... [INFO] testing gdext-gen-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gdext-gen 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate gdext-gen 0.1.0 [INFO] finished tweaking crates.io crate gdext-gen 0.1.0 [INFO] tweaked toml for crates.io crate gdext-gen 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gdext-gen 0.1.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding chumsky v0.9.3 (available: v0.10.1) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.5) [INFO] [stderr] Adding toml_edit v0.22.27 (available: v0.23.4) [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 60bb314da3bf54b1432ff25730ac0f816023f9f76aea4c9f3f46cea54cd44057 [INFO] running `Command { std: "docker" "start" "-a" "60bb314da3bf54b1432ff25730ac0f816023f9f76aea4c9f3f46cea54cd44057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60bb314da3bf54b1432ff25730ac0f816023f9f76aea4c9f3f46cea54cd44057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60bb314da3bf54b1432ff25730ac0f816023f9f76aea4c9f3f46cea54cd44057", kill_on_drop: false }` [INFO] [stdout] 60bb314da3bf54b1432ff25730ac0f816023f9f76aea4c9f3f46cea54cd44057 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] afd470dd059d817b8a239aa8e034d733ea0d27cfa2cb2dddd1a1504d41a54fa4 [INFO] running `Command { std: "docker" "start" "-a" "afd470dd059d817b8a239aa8e034d733ea0d27cfa2cb2dddd1a1504d41a54fa4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling gdext-gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.38s [INFO] running `Command { std: "docker" "inspect" "afd470dd059d817b8a239aa8e034d733ea0d27cfa2cb2dddd1a1504d41a54fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd470dd059d817b8a239aa8e034d733ea0d27cfa2cb2dddd1a1504d41a54fa4", kill_on_drop: false }` [INFO] [stdout] afd470dd059d817b8a239aa8e034d733ea0d27cfa2cb2dddd1a1504d41a54fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 20d9d003f46acbdc9e1dd7456d54532690b219170a5bfda2e5c2bd4fb5472358 [INFO] running `Command { std: "docker" "start" "-a" "20d9d003f46acbdc9e1dd7456d54532690b219170a5bfda2e5c2bd4fb5472358", kill_on_drop: false }` [INFO] [stderr] Compiling gdext-gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "20d9d003f46acbdc9e1dd7456d54532690b219170a5bfda2e5c2bd4fb5472358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d9d003f46acbdc9e1dd7456d54532690b219170a5bfda2e5c2bd4fb5472358", kill_on_drop: false }` [INFO] [stdout] 20d9d003f46acbdc9e1dd7456d54532690b219170a5bfda2e5c2bd4fb5472358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ae0587e25890e844f655cb3723e51a8fd10601e1f18ff440b762d86580769ddd [INFO] running `Command { std: "docker" "start" "-a" "ae0587e25890e844f655cb3723e51a8fd10601e1f18ff440b762d86580769ddd", 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/gdext_gen-de69665abdceabe7) [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 gdext_gen [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/gdext/config.rs - gdext::config::Configuration::entry_symbol (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `base_dir` in this scope [INFO] [stdout] --> src/lib.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 7 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_dir` in this scope [INFO] [stdout] --> src/lib.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 7 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gdextension_path` in this scope [INFO] [stdout] --> src/lib.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 7 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `force_generation` in this scope [INFO] [stdout] --> src/lib.rs:20:71 [INFO] [stdout] | [INFO] [stdout] 7 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `configuration` in this scope [INFO] [stdout] --> src/lib.rs:20:89 [INFO] [stdout] | [INFO] [stdout] 7 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `windows_abi` in this scope [INFO] [stdout] --> src/lib.rs:20:104 [INFO] [stdout] | [INFO] [stdout] 7 | ...extension_path, force_generation, configuration, windows_abi, icons_configuration, dependencies); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `icons_configuration` in this scope [INFO] [stdout] --> src/lib.rs:20:117 [INFO] [stdout] | [INFO] [stdout] 7 | ...orce_generation, configuration, windows_abi, icons_configuration, dependencies); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:20:138 [INFO] [stdout] | [INFO] [stdout] 7 | ...configuration, windows_abi, icons_configuration, dependencies); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 8 arguments were supplied [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 7 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, dependencies); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ unexpected argument #8 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate_gdextension_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 7 - generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, dependencies); [INFO] [stdout] 7 + generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gdext/config.rs - gdext::config::Configuration::entry_symbol (line 15) stdout ---- [INFO] [stdout] error: cannot find attribute `gdextension` in this scope [INFO] [stdout] --> src/gdext/config.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[gdextension(entry_symbol = libmy_rust_init)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ExtensionLibrary` in this scope [INFO] [stdout] --> src/gdext/config.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe impl ExtensionLibrary for MyExtension {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyExtension` in this scope [INFO] [stdout] --> src/gdext/config.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe impl ExtensionLibrary for MyExtension {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `base_dir` in this scope [INFO] [stdout] --> src/lib.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 9 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_dir` in this scope [INFO] [stdout] --> src/lib.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 9 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gdextension_path` in this scope [INFO] [stdout] --> src/lib.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 9 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `force_generation` in this scope [INFO] [stdout] --> src/lib.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 9 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `configuration` in this scope [INFO] [stdout] --> src/lib.rs:32:89 [INFO] [stdout] | [INFO] [stdout] 9 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, ... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `windows_abi` in this scope [INFO] [stdout] --> src/lib.rs:32:104 [INFO] [stdout] | [INFO] [stdout] 9 | ...extension_path, force_generation, configuration, windows_abi, icons_configuration, dependencies)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `icons_configuration` in this scope [INFO] [stdout] --> src/lib.rs:32:117 [INFO] [stdout] | [INFO] [stdout] 9 | ...orce_generation, configuration, windows_abi, icons_configuration, dependencies)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:32:138 [INFO] [stdout] | [INFO] [stdout] 9 | ...configuration, windows_abi, icons_configuration, dependencies)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 8 arguments were supplied [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 9 | generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, dependencies)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ unexpected argument #8 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate_gdextension_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 9 - generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration, dependencies)?; [INFO] [stdout] 9 + generate_gdextension_file(base_dir, target_dir, gdextension_path, force_generation, configuration, windows_abi, icons_configuration)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> Result<()> { [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `generate_gdextension_file` in this scope [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 3 | generate_gdextension_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::generate_gdextension_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BaseDirectory` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 4 | BaseDirectory::ProjectFolder.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::BaseDirectory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Configuration` [INFO] [stdout] --> src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 8 | Some(Configuration::new( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Configuration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::Configuration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntrySymbol` [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 9 | EntrySymbol::GodotRustDefault, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntrySymbol` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::EntrySymbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowsABI` [INFO] [stdout] --> src/lib.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 15 | Some(WindowsABI::MSVC), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `WindowsABI` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::WindowsABI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IconsConfig` [INFO] [stdout] --> src/lib.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 16 | Some(IconsConfig::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `IconsConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::IconsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IconsCopyStrategy` [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 18 | IconsCopyStrategy::new(true, true, "../godot/addons/rust".into(), false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IconsCopyStrategy` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::IconsCopyStrategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IconsDirectories` [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 20 | IconsDirectories::new("addons".into(), "editor".into(), "rust".into(), BaseDirectory::ProjectFolder.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `IconsDirectories` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::IconsDirectories; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BaseDirectory` [INFO] [stdout] --> src/lib.rs:62:84 [INFO] [stdout] | [INFO] [stdout] 20 | IconsDirectories::new("addons".into(), "editor".into(), "rust".into(), BaseDirectory::ProjectFolder.into()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BaseDirectory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use gdext_gen::prelude::BaseDirectory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultNodeIcon` [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 17 | DefaultNodeIcon::NodeRust(NodeRust::Ferris, "rust".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DefaultNodeIcon` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeRust` [INFO] [stdout] --> src/lib.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 17 | DefaultNodeIcon::NodeRust(NodeRust::Ferris, "rust".into()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeRust` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/gdext/config.rs - gdext::config::Configuration::entry_symbol (line 15) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ae0587e25890e844f655cb3723e51a8fd10601e1f18ff440b762d86580769ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0587e25890e844f655cb3723e51a8fd10601e1f18ff440b762d86580769ddd", kill_on_drop: false }` [INFO] [stdout] ae0587e25890e844f655cb3723e51a8fd10601e1f18ff440b762d86580769ddd