[INFO] fetching crate pictorus-traits 0.0.0... [INFO] testing pictorus-traits-0.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pictorus-traits 0.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pictorus-traits 0.0.0 [INFO] finished tweaking crates.io crate pictorus-traits 0.0.0 [INFO] tweaked toml for crates.io crate pictorus-traits 0.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pictorus-traits 0.0.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] crate crates.io crate pictorus-traits 0.0.0 already has a lockfile, it will not be regenerated [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] 1f22853d999f567ab36483397b8d7f33188a1d646a83731fc9f9be8085eb8fce [INFO] running `Command { std: "docker" "start" "-a" "1f22853d999f567ab36483397b8d7f33188a1d646a83731fc9f9be8085eb8fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f22853d999f567ab36483397b8d7f33188a1d646a83731fc9f9be8085eb8fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f22853d999f567ab36483397b8d7f33188a1d646a83731fc9f9be8085eb8fce", kill_on_drop: false }` [INFO] [stdout] 1f22853d999f567ab36483397b8d7f33188a1d646a83731fc9f9be8085eb8fce [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] cfcebb51c5fa85ed732d730993a56749e7b7f110fee9ac347a01a4daa07e43f7 [INFO] running `Command { std: "docker" "start" "-a" "cfcebb51c5fa85ed732d730993a56749e7b7f110fee9ac347a01a4daa07e43f7", kill_on_drop: false }` [INFO] [stderr] Compiling pictorus-traits v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 343 | ) -> PassBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 343 | ) -> PassBy<'_, Self::Output>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "cfcebb51c5fa85ed732d730993a56749e7b7f110fee9ac347a01a4daa07e43f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcebb51c5fa85ed732d730993a56749e7b7f110fee9ac347a01a4daa07e43f7", kill_on_drop: false }` [INFO] [stdout] cfcebb51c5fa85ed732d730993a56749e7b7f110fee9ac347a01a4daa07e43f7 [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] 23e3c591ad82cb1b5c0118f7dd9cb8a4782158062a9f43675d543c0c6b36c94e [INFO] running `Command { std: "docker" "start" "-a" "23e3c591ad82cb1b5c0118f7dd9cb8a4782158062a9f43675d543c0c6b36c94e", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 343 | ) -> PassBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 343 | ) -> PassBy<'_, Self::Output>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pictorus-traits v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 343 | ) -> PassBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 343 | ) -> PassBy<'_, Self::Output>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "23e3c591ad82cb1b5c0118f7dd9cb8a4782158062a9f43675d543c0c6b36c94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e3c591ad82cb1b5c0118f7dd9cb8a4782158062a9f43675d543c0c6b36c94e", kill_on_drop: false }` [INFO] [stdout] 23e3c591ad82cb1b5c0118f7dd9cb8a4782158062a9f43675d543c0c6b36c94e [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] 4f15c60eac86cd7132a7b5db8d43f97eb51f78f1af35dc82600a60b27bbeada9 [INFO] running `Command { std: "docker" "start" "-a" "4f15c60eac86cd7132a7b5db8d43f97eb51f78f1af35dc82600a60b27bbeada9", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:340:9 [INFO] [stderr] | [INFO] [stderr] 340 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 343 | ) -> PassBy; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 343 | ) -> PassBy<'_, Self::Output>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `pictorus-traits` (lib) generated 1 warning (run `cargo fix --lib -p pictorus-traits` to apply 1 suggestion) [INFO] [stderr] warning: `pictorus-traits` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pictorus_traits-fbf832883a1dbe37) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test custom_blocks::tests::test_block_param_as_matrix ... ok [INFO] [stdout] test custom_blocks::tests::test_block_param_as_string ... ok [INFO] [stdout] test custom_blocks::tests::test_block_param_as_number ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pictorus_traits [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - (line 186) ... FAILED [INFO] [stdout] test src/lib.rs - (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - (line 224) ... FAILED [INFO] [stdout] test src/lib.rs - (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - (line 258) ... FAILED [INFO] [stdout] test src/lib.rs - (line 212) ... FAILED [INFO] [stdout] test src/lib.rs - (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - (line 244) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 186) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pass for ByteSliceSignal { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ByteSliceSignal` in this scope [INFO] [stdout] --> src/lib.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pass for ByteSliceSignal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::ByteSliceSignal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 143) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 1 | impl Pass for (A){...} [INFO] [stdout] | -^^^- item list ends here [INFO] [stdout] | || [INFO] [stdout] | |non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 2 | impl Pass for (A, B){...} [INFO] [stdout] | -^^^- item list ends here [INFO] [stdout] | || [INFO] [stdout] | |non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: missing trait in a trait impl [INFO] [stdout] --> src/lib.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 3 | impl for (A, B, C) {...} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a trait here [INFO] [stdout] | [INFO] [stdout] 3 | impl Trait for (A, B, C) {...} [INFO] [stdout] | +++++ [INFO] [stdout] help: for an inherent impl, drop this `for` [INFO] [stdout] | [INFO] [stdout] 3 - impl for (A, B, C) {...} [INFO] [stdout] 3 + impl (A, B, C) {...} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 202) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn process<'b>( [INFO] [stdout] 4 | | &'b mut self, [INFO] [stdout] 5 | | context: &dyn Context, [INFO] [stdout] 6 | | inputs: PassBy<'_, Self::Inputs>, [INFO] [stdout] 7 | | ) -> PassBy<'b, Self::Output>; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |______________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 4 | &'b 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[E0405]: cannot find trait `Context` in this scope [INFO] [stdout] --> src/lib.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 5 | context: &dyn Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 6 | inputs: PassBy<'_, Self::Inputs>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:207:6 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> PassBy<'b, Self::Output>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions [INFO] [stdout] --> src/lib.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 6 | inputs: PassBy<'_, Self::Inputs>, [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions [INFO] [stdout] --> src/lib.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> PassBy<'b, Self::Output>; [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, 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 - (line 224) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pass for (A, B, C) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 5 | A: Pass, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 6 | B: Pass, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 7 | C: Pass, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 9 | type By<'a> = (PassBy<'a, A>, PassBy<'a, B>, PassBy<'a, C>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:231:35 [INFO] [stdout] | [INFO] [stdout] 9 | type By<'a> = (PassBy<'a, A>, PassBy<'a, B>, PassBy<'a, C>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:231:50 [INFO] [stdout] | [INFO] [stdout] 9 | type By<'a> = (PassBy<'a, A>, PassBy<'a, B>, PassBy<'a, C>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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 164) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:165:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub type PassBy<'a, T> = ::By<'a>; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [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 - (line 171) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Pass` in this scope [INFO] [stdout] --> src/lib.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 3 | impl Pass for T [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Scalar` in this scope [INFO] [stdout] --> src/lib.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 5 | T: Scalar, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Scalar; [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 - (line 272) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Apply` in this scope [INFO] [stdout] --> src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 3 | impl Apply for [T; N] [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Scalar` in this scope [INFO] [stdout] --> src/lib.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 5 | T: Scalar, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Promote` in this scope [INFO] [stdout] --> src/lib.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 6 | G: Promote, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Promotion` in this scope [INFO] [stdout] --> src/lib.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 7 | Promotion: MulAssign, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MulAssign` in this scope [INFO] [stdout] --> src/lib.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 7 | Promotion: MulAssign, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::MulAssign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Promotion` in this scope [INFO] [stdout] --> src/lib.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 9 | type Output = [Promotion; N]; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Promotion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 13 | input: PassBy<'_, Self>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PassBy` in this scope [INFO] [stdout] --> src/lib.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> PassBy<'s, Self::Output> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::PassBy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Promote` in this scope [INFO] [stdout] --> src/lib.rs:286:51 [INFO] [stdout] | [INFO] [stdout] 16 | let output = store.insert(input.map(>::promote_right)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Promote` [INFO] [stdout] --> src/lib.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 17 | let gain = Promote::promote_left(gain); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Promote` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Promote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, 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 - (line 258) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 4 | >::Output = f32 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 4 | ::>::Output = f32 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Promotion` in this scope [INFO] [stdout] --> src/lib.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 3 | >::Output = f32 [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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 - (line 212) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn process<'b>( [INFO] [stdout] 4 | | &'b mut self, [INFO] [stdout] 5 | | context: &dyn Context, [INFO] [stdout] 6 | | inputs: &DMatrix [INFO] [stdout] 7 | | ) -> u8; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 4 | &'b 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[E0405]: cannot find trait `Context` in this scope [INFO] [stdout] --> src/lib.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 5 | context: &dyn Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DMatrix` in this scope [INFO] [stdout] --> src/lib.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 6 | inputs: &DMatrix [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 154) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Sealed` in this scope [INFO] [stdout] --> src/lib.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Pass: Sealed + 'static { [INFO] [stdout] | ^^^^^^ not found in this scope [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 - (line 244) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Scalar` in this scope [INFO] [stdout] --> src/lib.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Promote: Scalar { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Scalar` in this scope [INFO] [stdout] --> src/lib.rs:245:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Promote: Scalar { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Scalar` in this scope [INFO] [stdout] --> src/lib.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 4 | type Output: Scalar; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pictorus_traits::Scalar; [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 E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 143) [INFO] [stdout] src/lib.rs - (line 154) [INFO] [stdout] src/lib.rs - (line 164) [INFO] [stdout] src/lib.rs - (line 171) [INFO] [stdout] src/lib.rs - (line 186) [INFO] [stdout] src/lib.rs - (line 202) [INFO] [stdout] src/lib.rs - (line 212) [INFO] [stdout] src/lib.rs - (line 224) [INFO] [stdout] src/lib.rs - (line 244) [INFO] [stdout] src/lib.rs - (line 258) [INFO] [stdout] src/lib.rs - (line 272) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4f15c60eac86cd7132a7b5db8d43f97eb51f78f1af35dc82600a60b27bbeada9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f15c60eac86cd7132a7b5db8d43f97eb51f78f1af35dc82600a60b27bbeada9", kill_on_drop: false }` [INFO] [stdout] 4f15c60eac86cd7132a7b5db8d43f97eb51f78f1af35dc82600a60b27bbeada9