[INFO] fetching crate prism2 0.1.6... [INFO] testing prism2-0.1.6 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate prism2 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate prism2 0.1.6 [INFO] finished tweaking crates.io crate prism2 0.1.6 [INFO] tweaked toml for crates.io crate prism2 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prism2 0.1.6 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prism2 0.1.6 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8090dc73c4d430d7a9514aeabb29c4f1095edf2b14cbeee1067450e4c3e5325e [INFO] running `Command { std: "docker" "start" "-a" "8090dc73c4d430d7a9514aeabb29c4f1095edf2b14cbeee1067450e4c3e5325e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8090dc73c4d430d7a9514aeabb29c4f1095edf2b14cbeee1067450e4c3e5325e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8090dc73c4d430d7a9514aeabb29c4f1095edf2b14cbeee1067450e4c3e5325e", kill_on_drop: false }` [INFO] [stdout] 8090dc73c4d430d7a9514aeabb29c4f1095edf2b14cbeee1067450e4c3e5325e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8308ddc991043435f5669483b4425117f7a5318f6a5d128bd7b5d0fc05066f4 [INFO] running `Command { std: "docker" "start" "-a" "d8308ddc991043435f5669483b4425117f7a5318f6a5d128bd7b5d0fc05066f4", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling nsvg v0.5.1 [INFO] [stderr] Compiling zune-jpeg v0.5.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling prism_proc v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling anyanymap v1.0.2 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling wgpu_canvas v5.0.8 [INFO] [stderr] Compiling prism2 v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "d8308ddc991043435f5669483b4425117f7a5318f6a5d128bd7b5d0fc05066f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8308ddc991043435f5669483b4425117f7a5318f6a5d128bd7b5d0fc05066f4", kill_on_drop: false }` [INFO] [stdout] d8308ddc991043435f5669483b4425117f7a5318f6a5d128bd7b5d0fc05066f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8591b1bbc9c520b95ff69a57fba0d2573a0b794089d3a9dc8a441e1c61b9ae5b [INFO] running `Command { std: "docker" "start" "-a" "8591b1bbc9c520b95ff69a57fba0d2573a0b794089d3a9dc8a441e1c61b9ae5b", kill_on_drop: false }` [INFO] [stderr] Compiling prism2 v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "8591b1bbc9c520b95ff69a57fba0d2573a0b794089d3a9dc8a441e1c61b9ae5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8591b1bbc9c520b95ff69a57fba0d2573a0b794089d3a9dc8a441e1c61b9ae5b", kill_on_drop: false }` [INFO] [stdout] 8591b1bbc9c520b95ff69a57fba0d2573a0b794089d3a9dc8a441e1c61b9ae5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 015435fd1b76b5f5474c9c270f1379bf6b1bf5bbcbb4b34bc31d4f2119ec022b [INFO] running `Command { std: "docker" "start" "-a" "015435fd1b76b5f5474c9c270f1379bf6b1bf5bbcbb4b34bc31d4f2119ec022b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prism2-66d9cb9818d58709) [INFO] [stderr] Doc-tests prism2 [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 5 tests [INFO] [stdout] test src/layout.rs - layout::Wrap (line 533) ... FAILED [INFO] [stdout] test src/layout.rs - layout::Stack (line 479) ... FAILED [INFO] [stdout] test src/layout.rs - layout::Row (line 320) ... FAILED [INFO] [stdout] test src/layout.rs - layout::Padding (line 231) ... FAILED [INFO] [stdout] test src/layout.rs - layout::Column (line 376) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/layout.rs - layout::Wrap (line 533) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Wrap` in this scope [INFO] [stdout] --> src/layout.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | let layout = Wrap::new(8.0, 8.0); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 533 + use prism2::layout::Wrap; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layout.rs - layout::Stack (line 479) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Stack` in this scope [INFO] [stdout] --> src/layout.rs:480:14 [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::layout::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Offset` in this scope [INFO] [stdout] --> src/layout.rs:480:20 [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Offset` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::drawable::Offset; [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::layout::Offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Offset` in this scope [INFO] [stdout] --> src/layout.rs:480:36 [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Offset` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::drawable::Offset; [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::layout::Offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Size` in this scope [INFO] [stdout] --> src/layout.rs:480:52 [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Sized::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::drawable::Size; [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::layout::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Size` in this scope [INFO] [stdout] --> src/layout.rs:480:63 [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Sized::Fit, Padding::new(8.0)); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::drawable::Size; [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::layout::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Padding` in this scope [INFO] [stdout] --> src/layout.rs:480:74 [INFO] [stdout] | [INFO] [stdout] 480 | let layout = Stack(Offset::Center, Offset::Center, Size::Fit, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Padding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 479 + use prism2::layout::Padding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layout.rs - layout::Row (line 320) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Row` in this scope [INFO] [stdout] --> src/layout.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | let layout = Row::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^ use of undeclared type `Row` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 320 + use prism2::layout::Row; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Offset` in this scope [INFO] [stdout] --> src/layout.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | let layout = Row::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Offset` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 320 + use prism2::drawable::Offset; [INFO] [stdout] | [INFO] [stdout] 320 + use prism2::layout::Offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Size` in this scope [INFO] [stdout] --> src/layout.rs:321:45 [INFO] [stdout] | [INFO] [stdout] 321 | let layout = Row::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 321 | let layout = Row::new(24.0, Offset::Center, Sized::Fit, Padding::new(8.0)); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 320 + use prism2::drawable::Size; [INFO] [stdout] | [INFO] [stdout] 320 + use prism2::layout::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Padding` in this scope [INFO] [stdout] --> src/layout.rs:321:56 [INFO] [stdout] | [INFO] [stdout] 321 | let layout = Row::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Padding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 320 + use prism2::layout::Padding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layout.rs - layout::Padding (line 231) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Padding` in this scope [INFO] [stdout] --> src/layout.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | let padding = Padding(24.0, 16.0, 24.0, 16.0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 231 + use prism2::layout::Padding; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layout.rs - layout::Column (line 376) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Column` in this scope [INFO] [stdout] --> src/layout.rs:377:14 [INFO] [stdout] | [INFO] [stdout] 377 | let layout = Column::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 376 + use prism2::layout::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Offset` in this scope [INFO] [stdout] --> src/layout.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | let layout = Column::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Offset` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 376 + use prism2::drawable::Offset; [INFO] [stdout] | [INFO] [stdout] 376 + use prism2::layout::Offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Size` in this scope [INFO] [stdout] --> src/layout.rs:377:48 [INFO] [stdout] | [INFO] [stdout] 377 | let layout = Column::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 377 | let layout = Column::new(24.0, Offset::Center, Sized::Fit, Padding::new(8.0)); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 376 + use prism2::drawable::Size; [INFO] [stdout] | [INFO] [stdout] 376 + use prism2::layout::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Padding` in this scope [INFO] [stdout] --> src/layout.rs:377:59 [INFO] [stdout] | [INFO] [stdout] 377 | let layout = Column::new(24.0, Offset::Center, Size::Fit, Padding::new(8.0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Padding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 376 + use prism2::layout::Padding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/layout.rs - layout::Column (line 376) [INFO] [stdout] src/layout.rs - layout::Padding (line 231) [INFO] [stdout] src/layout.rs - layout::Row (line 320) [INFO] [stdout] src/layout.rs - layout::Stack (line 479) [INFO] [stdout] src/layout.rs - layout::Wrap (line 533) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.64s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "015435fd1b76b5f5474c9c270f1379bf6b1bf5bbcbb4b34bc31d4f2119ec022b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015435fd1b76b5f5474c9c270f1379bf6b1bf5bbcbb4b34bc31d4f2119ec022b", kill_on_drop: false }` [INFO] [stdout] 015435fd1b76b5f5474c9c270f1379bf6b1bf5bbcbb4b34bc31d4f2119ec022b