[INFO] fetching crate dusk-api 0.0.11... [INFO] testing dusk-api-0.0.11 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dusk-api 0.0.11 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate dusk-api 0.0.11 [INFO] finished tweaking crates.io crate dusk-api 0.0.11 [INFO] tweaked toml for crates.io crate dusk-api 0.0.11 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dusk-api 0.0.11 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding libloading v0.6.7 (available: v0.9.0) [INFO] [stderr] Adding rustc_version v0.3.3 (available: v0.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 548f749ff5ecc96e7b18c74067947e72b350b70d5dcf77658dd90c6489fba710 [INFO] running `Command { std: "docker" "start" "-a" "548f749ff5ecc96e7b18c74067947e72b350b70d5dcf77658dd90c6489fba710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "548f749ff5ecc96e7b18c74067947e72b350b70d5dcf77658dd90c6489fba710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548f749ff5ecc96e7b18c74067947e72b350b70d5dcf77658dd90c6489fba710", kill_on_drop: false }` [INFO] [stdout] 548f749ff5ecc96e7b18c74067947e72b350b70d5dcf77658dd90c6489fba710 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdec3528c5bcb1dc52c0fc0f45986a21b18af2febe12d9a3c84e49c6fbbfa38f [INFO] running `Command { std: "docker" "start" "-a" "cdec3528c5bcb1dc52c0fc0f45986a21b18af2febe12d9a3c84e49c6fbbfa38f", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling dusk-api v0.0.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "cdec3528c5bcb1dc52c0fc0f45986a21b18af2febe12d9a3c84e49c6fbbfa38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdec3528c5bcb1dc52c0fc0f45986a21b18af2febe12d9a3c84e49c6fbbfa38f", kill_on_drop: false }` [INFO] [stdout] cdec3528c5bcb1dc52c0fc0f45986a21b18af2febe12d9a3c84e49c6fbbfa38f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a684fae90c367c89a00b2069fc3e774f5c7e421b3624be311e193fee470fa024 [INFO] running `Command { std: "docker" "start" "-a" "a684fae90c367c89a00b2069fc3e774f5c7e421b3624be311e193fee470fa024", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling dusk-api v0.0.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "a684fae90c367c89a00b2069fc3e774f5c7e421b3624be311e193fee470fa024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a684fae90c367c89a00b2069fc3e774f5c7e421b3624be311e193fee470fa024", kill_on_drop: false }` [INFO] [stdout] a684fae90c367c89a00b2069fc3e774f5c7e421b3624be311e193fee470fa024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3746d9ea7ce9286f9a804140f00fc00669fe81be0b826222a913d932fdb4997f [INFO] running `Command { std: "docker" "start" "-a" "3746d9ea7ce9286f9a804140f00fc00669fe81be0b826222a913d932fdb4997f", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dusk_api-b814832b82f07d28) [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 dusk_api [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - export_plugin (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - RUSTC_VERSION (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - export_freight (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - RUSTC_VERSION (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - FreightProxy (line 568) ... FAILED [INFO] [stdout] test src/lib.rs - RuntimeError::Message (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - register_freight (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - Freight (line 384) ... FAILED [INFO] [stdout] test src/lib.rs - import_plugin (line 143) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - export_plugin (line 55) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 54 + use dusk_api::Freight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RUSTC_VERSION (line 34) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rustc_version` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_version; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - export_freight (line 85) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FreightRegistrar` in this scope [INFO] [stdout] --> src/lib.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn register (registrar: &mut dyn FreightRegistrar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 84 + use dusk_api::FreightRegistrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 84 + use dusk_api::Freight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RUSTC_VERSION (line 44) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | [build-dependencies] [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - FreightProxy (line 568) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `FreightProxy` in this scope [INFO] [stdout] --> src/lib.rs:569:21 [INFO] [stdout] | [INFO] [stdout] 569 | let mut my_f_proxy: FreightProxy = unsafe{ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 568 + use dusk_api::FreightProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FreightProxy` [INFO] [stdout] --> src/lib.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | FreightProxy::load("/bin/libtest_plug.so").expect("fail") [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FreightProxy` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 568 + use dusk_api::FreightProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> src/lib.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let fnlist: Vec = my_f_proxy.get_function_list(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 568 + use dusk_api::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - RuntimeError::Message (line 172) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | self: &mut Self, [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/lib.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 173 | fn call_function ( [INFO] [stdout] | ------------- `Self` not allowed in a function [INFO] [stdout] 174 | self: &mut Self, [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> src/lib.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | _args: Vec<&mut Box> [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 172 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> src/lib.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 172 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeError` in this scope [INFO] [stdout] --> src/lib.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 172 + use dusk_api::RuntimeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeError` [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Err(RuntimeError::Message{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 172 + use dusk_api::RuntimeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0411, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - register_freight (line 119) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 118 + use dusk_api::Freight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Freight (line 384) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:387:6 [INFO] [stdout] | [INFO] [stdout] 387 | impl Freight for Test { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::Freight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> src/lib.rs:391:36 [INFO] [stdout] | [INFO] [stdout] 391 | mut args: Vec<&mut Box> [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 384 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> src/lib.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 384 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeError` in this scope [INFO] [stdout] --> src/lib.rs:392:35 [INFO] [stdout] | [INFO] [stdout] 392 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::RuntimeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeError` [INFO] [stdout] --> src/lib.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | _ => return Err(RuntimeError::Message{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::RuntimeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> src/lib.rs:406:51 [INFO] [stdout] | [INFO] [stdout] 406 | fn get_function_list (self: &mut Self) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> src/lib.rs:407:29 [INFO] [stdout] | [INFO] [stdout] 407 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Function` in this scope [INFO] [stdout] --> src/lib.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | result.push(Function{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId` [INFO] [stdout] --> src/lib.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | arg_types: vec![TypeId::of::()], [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 384 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId` [INFO] [stdout] --> src/lib.rs:412:26 [INFO] [stdout] | [INFO] [stdout] 412 | return_type: TypeId::of::(), [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 384 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:417:47 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_type_list (self: &mut Self) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 384 + use dusk_api::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - import_plugin (line 143) stdout ---- [INFO] [stdout] error: cannot find macro `import_plugin` in this scope [INFO] [stdout] --> src/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | import_plugin!("/bin/libtest-plug.so").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 143 + use dusk_api::import_plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FreightProxy` in this scope [INFO] [stdout] --> src/lib.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let mut my_f_proxy: FreightProxy = [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 143 + use dusk_api::FreightProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> src/lib.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let fnlist: Vec = my_f_proxy.get_function_list(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 143 + use dusk_api::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Freight (line 384) [INFO] [stdout] src/lib.rs - FreightProxy (line 568) [INFO] [stdout] src/lib.rs - RUSTC_VERSION (line 34) [INFO] [stdout] src/lib.rs - RUSTC_VERSION (line 44) [INFO] [stdout] src/lib.rs - RuntimeError::Message (line 172) [INFO] [stdout] src/lib.rs - export_freight (line 85) [INFO] [stdout] src/lib.rs - export_plugin (line 55) [INFO] [stdout] src/lib.rs - import_plugin (line 143) [INFO] [stdout] src/lib.rs - register_freight (line 119) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3746d9ea7ce9286f9a804140f00fc00669fe81be0b826222a913d932fdb4997f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3746d9ea7ce9286f9a804140f00fc00669fe81be0b826222a913d932fdb4997f", kill_on_drop: false }` [INFO] [stdout] 3746d9ea7ce9286f9a804140f00fc00669fe81be0b826222a913d932fdb4997f