[INFO] cloning repository https://github.com/goodcodedev/rui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodcodedev/rui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodcodedev%2Frui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodcodedev%2Frui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 916627c065505481aa35ddc5eb40796f0788407f [INFO] checking goodcodedev/rui/916627c065505481aa35ddc5eb40796f0788407f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodcodedev%2Frui" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goodcodedev/rui on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goodcodedev/rui [INFO] finished tweaking git repo https://github.com/goodcodedev/rui [INFO] tweaked toml for git repo https://github.com/goodcodedev/rui written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/goodcodedev/rui 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eb84c3a882aac95047acddf55be6f8eb14ea3cb5f78e1f15809a440f3a0e126 [INFO] running `Command { std: "docker" "start" "-a" "7eb84c3a882aac95047acddf55be6f8eb14ea3cb5f78e1f15809a440f3a0e126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eb84c3a882aac95047acddf55be6f8eb14ea3cb5f78e1f15809a440f3a0e126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb84c3a882aac95047acddf55be6f8eb14ea3cb5f78e1f15809a440f3a0e126", kill_on_drop: false }` [INFO] [stdout] 7eb84c3a882aac95047acddf55be6f8eb14ea3cb5f78e1f15809a440f3a0e126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ebd386923442cd51fefb006207004002a56b26e0c80ff22f8f98e12d39db77b [INFO] running `Command { std: "docker" "start" "-a" "8ebd386923442cd51fefb006207004002a56b26e0c80ff22f8f98e12d39db77b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | children: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | children: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ui` [INFO] [stdout] --> src/main.rs:161:2 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | children: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | children: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Color { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | r: u32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | g: u32, [INFO] [stdout] | ^ [INFO] [stdout] 12 | b: u32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_color` is never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | bg_color: Color, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CounterEvent` is never used [INFO] [stdout] --> src/main.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | enum CounterEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HandleEvent` is never used [INFO] [stdout] --> src/main.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | trait HandleEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test` is never used [INFO] [stdout] --> src/main.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 116 | pub fn test(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ui` (bin "ui") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `extern` block uses type `String`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn draw_html(html: String); [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ebd386923442cd51fefb006207004002a56b26e0c80ff22f8f98e12d39db77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebd386923442cd51fefb006207004002a56b26e0c80ff22f8f98e12d39db77b", kill_on_drop: false }` [INFO] [stdout] 8ebd386923442cd51fefb006207004002a56b26e0c80ff22f8f98e12d39db77b