[INFO] fetching crate dusk-api 0.0.11... [INFO] testing dusk-api-0.0.11 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate dusk-api 0.0.11 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dusk-api 0.0.11 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding libloading v0.6.7 (available: v0.8.9) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2929099927781da8e6a7954fa72d9206afe01eab0086a3f8410b5fa1443d1db [INFO] running `Command { std: "docker" "start" "-a" "b2929099927781da8e6a7954fa72d9206afe01eab0086a3f8410b5fa1443d1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2929099927781da8e6a7954fa72d9206afe01eab0086a3f8410b5fa1443d1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2929099927781da8e6a7954fa72d9206afe01eab0086a3f8410b5fa1443d1db", kill_on_drop: false }` [INFO] [stdout] b2929099927781da8e6a7954fa72d9206afe01eab0086a3f8410b5fa1443d1db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8479232705650817fb8c0e97b80cbc7c04a35fa1b129e372d74d95c31739e75 [INFO] running `Command { std: "docker" "start" "-a" "b8479232705650817fb8c0e97b80cbc7c04a35fa1b129e372d74d95c31739e75", 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 thiserror v2.0.17 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [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 7.78s [INFO] running `Command { std: "docker" "inspect" "b8479232705650817fb8c0e97b80cbc7c04a35fa1b129e372d74d95c31739e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8479232705650817fb8c0e97b80cbc7c04a35fa1b129e372d74d95c31739e75", kill_on_drop: false }` [INFO] [stdout] b8479232705650817fb8c0e97b80cbc7c04a35fa1b129e372d74d95c31739e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8c5386ac7410af613681339f93c4ccdb62c066f05edd9ccbc4cbd7389bac5b4 [INFO] running `Command { std: "docker" "start" "-a" "f8c5386ac7410af613681339f93c4ccdb62c066f05edd9ccbc4cbd7389bac5b4", 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.29s [INFO] running `Command { std: "docker" "inspect" "f8c5386ac7410af613681339f93c4ccdb62c066f05edd9ccbc4cbd7389bac5b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c5386ac7410af613681339f93c4ccdb62c066f05edd9ccbc4cbd7389bac5b4", kill_on_drop: false }` [INFO] [stdout] f8c5386ac7410af613681339f93c4ccdb62c066f05edd9ccbc4cbd7389bac5b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3dad1ae1aece6140d8f039657960b2da1d6dde63adfa06f8ae4c20328d4a25fa [INFO] running `Command { std: "docker" "start" "-a" "3dad1ae1aece6140d8f039657960b2da1d6dde63adfa06f8ae4c20328d4a25fa", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dusk_api-ebb2ea3b1172d768) [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 - RUSTC_VERSION (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - RUSTC_VERSION (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - Freight (line 384) ... FAILED [INFO] [stdout] test src/lib.rs - export_freight (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - import_plugin (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - export_plugin (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - register_freight (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - RuntimeError::Message (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - FreightProxy (line 568) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 1 | [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 - 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] 2 | 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 - 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] 5 | impl Freight for Test { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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] 9 | 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] 2 + 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] 10 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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] 10 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 18 | _ => return Err(RuntimeError::Message{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 24 | 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] 2 + 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] 25 | 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] 2 + 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] 26 | result.push(Function{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 29 | 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] 2 + 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] 30 | return_type: TypeId::of::(), [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 35 | 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] 2 + 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 - 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] 7 | 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] 2 + 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] 13 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 4 | import_plugin!("/bin/libtest-plug.so").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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] 2 + 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] 7 | 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] 2 + 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] ---- 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] 9 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 10 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 4 | 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] 3 | fn call_function ( [INFO] [stdout] | ------------- `Self` not allowed in a function [INFO] [stdout] 4 | 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] 6 | _args: Vec<&mut Box> [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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] 7 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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] 7 | ) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 8 | Err(RuntimeError::Message{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 7 | 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] 2 + 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] [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.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3dad1ae1aece6140d8f039657960b2da1d6dde63adfa06f8ae4c20328d4a25fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dad1ae1aece6140d8f039657960b2da1d6dde63adfa06f8ae4c20328d4a25fa", kill_on_drop: false }` [INFO] [stdout] 3dad1ae1aece6140d8f039657960b2da1d6dde63adfa06f8ae4c20328d4a25fa