[INFO] fetching crate polyhorn-ui 0.4.0... [INFO] testing polyhorn-ui-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate polyhorn-ui 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate polyhorn-ui 0.4.0 [INFO] finished tweaking crates.io crate polyhorn-ui 0.4.0 [INFO] tweaked toml for crates.io crate polyhorn-ui 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polyhorn-ui 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.10.1) [INFO] [stderr] Adding palette v0.5.0 (available: v0.7.6) [INFO] [stderr] Adding strum v0.19.5 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.19.4 (available: v0.27.2) [INFO] [stderr] Adding usvg v0.11.0 (available: v0.45.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5db3238ccd2c08eaa86d2bcbd09ebdde188091e404252a38a1b11caf7eb60b56 [INFO] running `Command { std: "docker" "start" "-a" "5db3238ccd2c08eaa86d2bcbd09ebdde188091e404252a38a1b11caf7eb60b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5db3238ccd2c08eaa86d2bcbd09ebdde188091e404252a38a1b11caf7eb60b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db3238ccd2c08eaa86d2bcbd09ebdde188091e404252a38a1b11caf7eb60b56", kill_on_drop: false }` [INFO] [stdout] 5db3238ccd2c08eaa86d2bcbd09ebdde188091e404252a38a1b11caf7eb60b56 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b23107339ee4657534a738d9c2a64d7a1f59f1194c5d7099dd198ae7cc761b [INFO] running `Command { std: "docker" "start" "-a" "b4b23107339ee4657534a738d9c2a64d7a1f59f1194c5d7099dd198ae7cc761b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling logos v0.11.4 [INFO] [stderr] Compiling casco v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling polyhorn-core v0.4.0 [INFO] [stderr] Compiling polyhorn-yoga v0.3.4 [INFO] [stderr] Compiling polyhorn-ui v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/layout/mod.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | dx: other.borrow().x - self.x, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - dx: other.borrow().x - self.x, [INFO] [stdout] 39 + dx: other.x - self.x, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct LayoutAnchor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/layout/mod.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | dy: other.borrow().y - self.y, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - dy: other.borrow().y - self.y, [INFO] [stdout] 40 + dy: other.y - self.y, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct LayoutAnchor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linalg/inter/laplace.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "b4b23107339ee4657534a738d9c2a64d7a1f59f1194c5d7099dd198ae7cc761b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b23107339ee4657534a738d9c2a64d7a1f59f1194c5d7099dd198ae7cc761b", kill_on_drop: false }` [INFO] [stdout] b4b23107339ee4657534a738d9c2a64d7a1f59f1194c5d7099dd198ae7cc761b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1682d9169a773799c529aa0f137acefbd2b8d729e6838a653cec885c634f0675 [INFO] running `Command { std: "docker" "start" "-a" "1682d9169a773799c529aa0f137acefbd2b8d729e6838a653cec885c634f0675", kill_on_drop: false }` [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/layout/mod.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | dx: other.borrow().x - self.x, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - dx: other.borrow().x - self.x, [INFO] [stdout] 39 + dx: other.x - self.x, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct LayoutAnchor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/layout/mod.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | dy: other.borrow().y - self.y, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - dy: other.borrow().y - self.y, [INFO] [stdout] 40 + dy: other.y - self.y, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct LayoutAnchor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linalg/inter/laplace.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling polyhorn-ui v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/layout/mod.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | dx: other.borrow().x - self.x, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - dx: other.borrow().x - self.x, [INFO] [stdout] 39 + dx: other.x - self.x, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct LayoutAnchor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/layout/mod.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | dy: other.borrow().y - self.y, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - dy: other.borrow().y - self.y, [INFO] [stdout] 40 + dy: other.y - self.y, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct LayoutAnchor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linalg/inter/laplace.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "1682d9169a773799c529aa0f137acefbd2b8d729e6838a653cec885c634f0675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1682d9169a773799c529aa0f137acefbd2b8d729e6838a653cec885c634f0675", kill_on_drop: false }` [INFO] [stdout] 1682d9169a773799c529aa0f137acefbd2b8d729e6838a653cec885c634f0675 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c46009b154369d2b8a2c8e4ceb63ccab8f0da5bd765b9ce37af111aa114561ed [INFO] running `Command { std: "docker" "start" "-a" "c46009b154369d2b8a2c8e4ceb63ccab8f0da5bd765b9ce37af111aa114561ed", kill_on_drop: false }` [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/layout/mod.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | dx: other.borrow().x - self.x, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 39 - dx: other.borrow().x - self.x, [INFO] [stderr] 39 + dx: other.x - self.x, [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub struct LayoutAnchor [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/layout/mod.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | dy: other.borrow().y - self.y, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `LayoutAnchor` does not implement `Borrow`, so calling `borrow` on `&LayoutAnchor` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 40 - dy: other.borrow().y - self.y, [INFO] [stderr] 40 + dy: other.y - self.y, [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `LayoutAnchor`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub struct LayoutAnchor [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linalg/inter/laplace.rs:29:27 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D { [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 29 | pub fn new(transform: &Transform3D) -> LaplaceExpansion3D<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `polyhorn-ui` (lib) generated 3 warnings (run `cargo fix --lib -p polyhorn-ui` to apply 3 suggestions) [INFO] [stderr] warning: `polyhorn-ui` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/polyhorn_ui-d9dca234495e47f7) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test color::tests::test_named_color ... ok [INFO] [stdout] test layout::tests::test_l1_norm ... ok [INFO] [stdout] test layout::tests::test_l2_norm ... ok [INFO] [stdout] test color::tests::test_gamma_correct_blending ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_halfway_rotation ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_decomposition_2 ... ok [INFO] [stdout] test color::tests::test_srgb_to_display_p3 ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_decomposition_1 ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_halfway_rotation_nonunit ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_complex ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_halfway_translation ... ok [INFO] [stdout] test linalg::inter::compose::tests::test_interpolation ... ok [INFO] [stdout] test linalg::tests::test_transform3d_concat ... ok [INFO] [stdout] test linalg::tests::test_transform3d_apply ... ok [INFO] [stdout] test styles::transform::tests::test_transform_builder ... ok [INFO] [stdout] test linalg::tests::test_transform3d_rotate ... ok [INFO] [stdout] test color::tests::test_display_p3_to_srgb ... ok [INFO] [stdout] test styles::transform::tests::test_transform ... ok [INFO] [stderr] Doc-tests polyhorn_ui [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/geometry.rs - geometry::ByCorner (line 76) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c46009b154369d2b8a2c8e4ceb63ccab8f0da5bd765b9ce37af111aa114561ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46009b154369d2b8a2c8e4ceb63ccab8f0da5bd765b9ce37af111aa114561ed", kill_on_drop: false }` [INFO] [stdout] c46009b154369d2b8a2c8e4ceb63ccab8f0da5bd765b9ce37af111aa114561ed