[INFO] fetching crate nappgui 0.2.0... [INFO] testing nappgui-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate nappgui 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate nappgui 0.2.0 [INFO] finished tweaking crates.io crate nappgui 0.2.0 [INFO] tweaked toml for crates.io crate nappgui 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nappgui 0.2.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] crate crates.io crate nappgui 0.2.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7f9689e9c9f51e63b9f2ebc97d98f8200a426f04fddc6fbd156e2fc5ef09aa89 [INFO] running `Command { std: "docker" "start" "-a" "7f9689e9c9f51e63b9f2ebc97d98f8200a426f04fddc6fbd156e2fc5ef09aa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f9689e9c9f51e63b9f2ebc97d98f8200a426f04fddc6fbd156e2fc5ef09aa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9689e9c9f51e63b9f2ebc97d98f8200a426f04fddc6fbd156e2fc5ef09aa89", kill_on_drop: false }` [INFO] [stdout] 7f9689e9c9f51e63b9f2ebc97d98f8200a426f04fddc6fbd156e2fc5ef09aa89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0bdc2647d08115ff5e64436001d9ce00322fb8e67badde7730f51f96577bef73 [INFO] running `Command { std: "docker" "start" "-a" "0bdc2647d08115ff5e64436001d9ce00322fb8e67badde7730f51f96577bef73", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling nappgui-macros v0.1.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling nappgui-sys v0.2.0 [INFO] [stderr] Compiling nappgui v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.82s [INFO] running `Command { std: "docker" "inspect" "0bdc2647d08115ff5e64436001d9ce00322fb8e67badde7730f51f96577bef73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bdc2647d08115ff5e64436001d9ce00322fb8e67badde7730f51f96577bef73", kill_on_drop: false }` [INFO] [stdout] 0bdc2647d08115ff5e64436001d9ce00322fb8e67badde7730f51f96577bef73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 50f7e8f20ef14fde662138078cd51b6c48744da0f66328baa35ae5145e757568 [INFO] running `Command { std: "docker" "start" "-a" "50f7e8f20ef14fde662138078cd51b6c48744da0f66328baa35ae5145e757568", kill_on_drop: false }` [INFO] [stderr] Compiling nappgui v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "50f7e8f20ef14fde662138078cd51b6c48744da0f66328baa35ae5145e757568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f7e8f20ef14fde662138078cd51b6c48744da0f66328baa35ae5145e757568", kill_on_drop: false }` [INFO] [stdout] 50f7e8f20ef14fde662138078cd51b6c48744da0f66328baa35ae5145e757568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1005dc3bdf6e1daf86bba517197ac9317775991720c507804eeb9c08a06018ad [INFO] running `Command { std: "docker" "start" "-a" "1005dc3bdf6e1daf86bba517197ac9317775991720c507804eeb9c08a06018ad", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nappgui-bdd34b21192944db) [INFO] [stderr] Doc-tests nappgui [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 1 test [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&nappgui::gui::Label: ControlLayoutTrait` is not satisfied [INFO] [stdout] --> src/lib.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 21 | layout.set(0, 0, &label); [INFO] [stdout] | --- ^^^^^^ the trait `ControlLayoutTrait` is not implemented for `&nappgui::gui::Label` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `set` [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/layout.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn set(&self, col: u32, row: u32, control: T) [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: ControlLayoutTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LayoutTrait::set` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 21 - layout.set(0, 0, &label); [INFO] [stdout] 21 + layout.set(0, 0, label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&nappgui::gui::PushButton: ControlLayoutTrait` is not satisfied [INFO] [stdout] --> src/lib.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 22 | layout.set(0, 1, &button); [INFO] [stdout] | --- ^^^^^^^ the trait `ControlLayoutTrait` is not implemented for `&nappgui::gui::PushButton` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `set` [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/layout.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn set(&self, col: u32, row: u32, control: T) [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: ControlLayoutTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LayoutTrait::set` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 22 - layout.set(0, 1, &button); [INFO] [stdout] 22 + layout.set(0, 1, button); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&nappgui::gui::TextView: ControlLayoutTrait` is not satisfied [INFO] [stdout] --> src/lib.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 23 | layout.set(0, 2, &text); [INFO] [stdout] | --- ^^^^^ the trait `ControlLayoutTrait` is not implemented for `&nappgui::gui::TextView` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `set` [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/layout.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn set(&self, col: u32, row: u32, control: T) [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: ControlLayoutTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LayoutTrait::set` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 23 - layout.set(0, 2, &text); [INFO] [stdout] 23 + layout.set(0, 2, text); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hsize` found for struct `nappgui::gui::Layout` in the current scope [INFO] [stdout] --> src/lib.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 24 | layout.hsize(0, 250.0); [INFO] [stdout] | ^^^^^ method not found in `nappgui::gui::Layout` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vsize` found for struct `nappgui::gui::Layout` in the current scope [INFO] [stdout] --> src/lib.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 25 | layout.vsize(2, 100.0); [INFO] [stdout] | ^^^^^ method not found in `nappgui::gui::Layout` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vmargin` found for struct `nappgui::gui::Layout` in the current scope [INFO] [stdout] --> src/lib.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 27 | layout.vmargin(0, 5.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `margin` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/layout.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | fn margin(&self, margin: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vmargin` found for struct `nappgui::gui::Layout` in the current scope [INFO] [stdout] --> src/lib.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 28 | layout.vmargin(1, 5.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `margin` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/layout.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | fn margin(&self, margin: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `writef` found for struct `nappgui::gui::TextView` in the current scope [INFO] [stdout] --> src/lib.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 31 | text.writef(&format!("Button click {}\n", clicks.borrow())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - text.writef(&format!("Button click {}\n", clicks.borrow())); [INFO] [stdout] 31 + text.write(&format!("Button click {}\n", clicks.borrow())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&nappgui::gui::Layout: nappgui::gui::LayoutTrait` is not satisfied [INFO] [stdout] --> src/lib.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 35 | panel.layout(&layout); [INFO] [stdout] | ------ ^^^^^^^ the trait `nappgui::gui::LayoutTrait` is not implemented for `&nappgui::gui::Layout` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `layout` [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/panel.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn layout(&self, layout: T) [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 23 | where [INFO] [stdout] 24 | T: LayoutTrait, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `PanelTrait::layout` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 35 - panel.layout(&layout); [INFO] [stdout] 35 + panel.layout(layout); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&nappgui::gui::Panel: nappgui::gui::PanelTrait` is not satisfied [INFO] [stdout] --> src/lib.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 38 | window.panel(&panel); [INFO] [stdout] | ----- ^^^^^^ the trait `nappgui::gui::PanelTrait` is not implemented for `&nappgui::gui::Panel` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `nappgui::gui::WindowTrait::panel` [INFO] [stdout] --> /opt/rustwide/workdir/src/gui/window.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | fn panel(&self, panel: T) [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 94 | where [INFO] [stdout] 95 | T: PanelTrait, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `WindowTrait::panel` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 38 - window.panel(&panel); [INFO] [stdout] 38 + window.panel(panel); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1005dc3bdf6e1daf86bba517197ac9317775991720c507804eeb9c08a06018ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1005dc3bdf6e1daf86bba517197ac9317775991720c507804eeb9c08a06018ad", kill_on_drop: false }` [INFO] [stdout] 1005dc3bdf6e1daf86bba517197ac9317775991720c507804eeb9c08a06018ad