[INFO] fetching crate dusk-api 0.0.11... [INFO] testing dusk-api-0.0.11 against 1.60.0 for beta-1.61-1 [INFO] extracting crate dusk-api 0.0.11 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate dusk-api 0.0.11 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version v0.3.3 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22b2816dbf95cd34e401d18e3194beac5c096b47bb46674e3dcc6847172fdf82 [INFO] running `Command { std: "docker" "start" "-a" "22b2816dbf95cd34e401d18e3194beac5c096b47bb46674e3dcc6847172fdf82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22b2816dbf95cd34e401d18e3194beac5c096b47bb46674e3dcc6847172fdf82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b2816dbf95cd34e401d18e3194beac5c096b47bb46674e3dcc6847172fdf82", kill_on_drop: false }` [INFO] [stdout] 22b2816dbf95cd34e401d18e3194beac5c096b47bb46674e3dcc6847172fdf82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccc4da67ed48e8fda42da00bf9a5eed0d4d38a47cd289b5a7e028764d5286c81 [INFO] running `Command { std: "docker" "start" "-a" "ccc4da67ed48e8fda42da00bf9a5eed0d4d38a47cd289b5a7e028764d5286c81", 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 semver-parser v0.10.2 [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 [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "ccc4da67ed48e8fda42da00bf9a5eed0d4d38a47cd289b5a7e028764d5286c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc4da67ed48e8fda42da00bf9a5eed0d4d38a47cd289b5a7e028764d5286c81", kill_on_drop: false }` [INFO] [stdout] ccc4da67ed48e8fda42da00bf9a5eed0d4d38a47cd289b5a7e028764d5286c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c140a5b5aacd7c00ec8350e40590b871c3fd28240c35fb4cbdc319b0e2d95962 [INFO] running `Command { std: "docker" "start" "-a" "c140a5b5aacd7c00ec8350e40590b871c3fd28240c35fb4cbdc319b0e2d95962", 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 [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "c140a5b5aacd7c00ec8350e40590b871c3fd28240c35fb4cbdc319b0e2d95962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c140a5b5aacd7c00ec8350e40590b871c3fd28240c35fb4cbdc319b0e2d95962", kill_on_drop: false }` [INFO] [stdout] c140a5b5aacd7c00ec8350e40590b871c3fd28240c35fb4cbdc319b0e2d95962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7631b8e972373acba815ebd7c85629cca87872e67f5fadcbcf8d02f8f29b883c [INFO] running `Command { std: "docker" "start" "-a" "7631b8e972373acba815ebd7c85629cca87872e67f5fadcbcf8d02f8f29b883c", 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 [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dusk_api-e4d2d4cf990718e8) [INFO] [stderr] Doc-tests dusk-api [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] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - RUSTC_VERSION (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - register_freight (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - import_plugin (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - FreightProxy (line 568) ... FAILED [INFO] [stdout] test src/lib.rs - Freight (line 384) ... FAILED [INFO] [stdout] test src/lib.rs - export_plugin (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - RuntimeError::Message (line 172) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [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 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 - register_freight (line 119) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:125: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] 3 | use dusk_api::Freight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 - 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] = note: consider importing this macro: [INFO] [stdout] dusk_api::import_plugin [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 - 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] | ^^^^^^^^^^^^ 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: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] ---- src/lib.rs - Freight (line 384) 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] 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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::any::Any; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::any::Any; [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[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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::any::TypeId; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::any::TypeId; [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_plugin (line 55) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use dusk_api::Freight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 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[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] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/lib.rs:174:16 [INFO] [stdout] | [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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::any::Any; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::any::Any; [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: 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 - export_freight (line 85) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FreightRegistrar` in this scope [INFO] [stdout] --> src/lib.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 3 | use dusk_api::FreightRegistrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Freight` in this scope [INFO] [stdout] --> src/lib.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Freight for MyFreight { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | 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 `;`, found `rustc_version` [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 3 | [build-dependencies] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | rustc_version = "0.3.0" [INFO] [stdout] | ------------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `build` in this scope [INFO] [stdout] --> src/lib.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 3 | [build-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:45:8 [INFO] [stdout] | [INFO] [stdout] 3 | [build-dependencies] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rustc_version` in this scope [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 4 | rustc_version = "0.3.0" [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [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.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7631b8e972373acba815ebd7c85629cca87872e67f5fadcbcf8d02f8f29b883c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7631b8e972373acba815ebd7c85629cca87872e67f5fadcbcf8d02f8f29b883c", kill_on_drop: false }` [INFO] [stdout] 7631b8e972373acba815ebd7c85629cca87872e67f5fadcbcf8d02f8f29b883c