[INFO] cloning repository https://github.com/jihong2384/factory1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jihong2384/factory1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjihong2384%2Ffactory1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjihong2384%2Ffactory1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03d0a509189dfcc93ec4776f9289019d7200a7b9 [INFO] checking jihong2384/factory1 against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjihong2384%2Ffactory1" "/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/jihong2384/factory1 on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jihong2384/factory1 [INFO] finished tweaking git repo https://github.com/jihong2384/factory1 [INFO] tweaked toml for git repo https://github.com/jihong2384/factory1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jihong2384/factory1 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2153142eab8d6aae7cfca11cdd9931c8fb57b32c772071023c2b564082a735ce [INFO] running `Command { std: "docker" "start" "-a" "2153142eab8d6aae7cfca11cdd9931c8fb57b32c772071023c2b564082a735ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2153142eab8d6aae7cfca11cdd9931c8fb57b32c772071023c2b564082a735ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2153142eab8d6aae7cfca11cdd9931c8fb57b32c772071023c2b564082a735ce", kill_on_drop: false }` [INFO] [stdout] 2153142eab8d6aae7cfca11cdd9931c8fb57b32c772071023c2b564082a735ce [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb7abd4d93b6e8970954d604c7f8107038ea8918a4784f4a8b234937dc885cf7 [INFO] running `Command { std: "docker" "start" "-a" "cb7abd4d93b6e8970954d604c7f8107038ea8918a4784f4a8b234937dc885cf7", kill_on_drop: false }` [INFO] [stderr] Checking factory1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `windows` in this scope [INFO] [stdout] --> src/init.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | if cfg(windows) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `windows` in this scope [INFO] [stdout] --> src/init.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | if cfg(windows) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WindowsDialog` in this scope [INFO] [stdout] --> src/init.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | &WindowsDialog [INFO] [stdout] | ^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `WindoesDialog` [INFO] [stdout] | [INFO] [stdout] ::: src/windows_gui.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WindoesDialog; [INFO] [stdout] | ------------------------- similarly named unit struct `WindoesDialog` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WindowsDialog` in this scope [INFO] [stdout] --> src/init.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | &WindowsDialog [INFO] [stdout] | ^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `WindoesDialog` [INFO] [stdout] | [INFO] [stdout] ::: src/windows_gui.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WindoesDialog; [INFO] [stdout] | ------------------------- similarly named unit struct `WindoesDialog` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::windows_gui::WindoesDialog` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::windows_gui::WindoesDialog; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::windows_gui::WindoesDialog` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::windows_gui::WindoesDialog; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `create_button` has an incompatible type for trait [INFO] [stdout] --> src/html_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `Box<(dyn Button + 'static)>` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/gui.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_button(&self); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected signature `fn(&HtmlDialog) -> ()` [INFO] [stdout] found signature `fn(&HtmlDialog) -> Box<(dyn Button + 'static)>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> (){ [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `create_button` has an incompatible type for trait [INFO] [stdout] --> src/html_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `Box<(dyn Button + 'static)>` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/gui.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_button(&self); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected signature `fn(&HtmlDialog) -> ()` [INFO] [stdout] found signature `fn(&HtmlDialog) -> Box<(dyn Button + 'static)>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> (){ [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `render`, `refresh` [INFO] [stdout] --> src/html_gui.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dialg for HtmlDialog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `render`, `refresh` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/gui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(&self); [INFO] [stdout] | ----------------- `render` from trait [INFO] [stdout] 9 | fn refresh(&self); [INFO] [stdout] | ------------------ `refresh` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `render`, `refresh` [INFO] [stdout] --> src/html_gui.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dialg for HtmlDialog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `render`, `refresh` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/gui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(&self); [INFO] [stdout] | ----------------- `render` from trait [INFO] [stdout] 9 | fn refresh(&self); [INFO] [stdout] | ------------------ `refresh` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `create_button` has an incompatible type for trait [INFO] [stdout] --> src/windows_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `Box<(dyn Button + 'static)>` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/gui.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_button(&self); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected signature `fn(&WindoesDialog) -> ()` [INFO] [stdout] found signature `fn(&WindoesDialog) -> Box<(dyn Button + 'static)>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> (){ [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `render`, `refresh` [INFO] [stdout] --> src/windows_gui.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dialg for WindoesDialog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `render`, `refresh` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/gui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(&self); [INFO] [stdout] | ----------------- `render` from trait [INFO] [stdout] 9 | fn refresh(&self); [INFO] [stdout] | ------------------ `refresh` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `create_button` has an incompatible type for trait [INFO] [stdout] --> src/windows_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `Box<(dyn Button + 'static)>` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/gui.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_button(&self); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected signature `fn(&WindoesDialog) -> ()` [INFO] [stdout] found signature `fn(&WindoesDialog) -> Box<(dyn Button + 'static)>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> (){ [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `render`, `refresh` [INFO] [stdout] --> src/windows_gui.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dialg for WindoesDialog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `render`, `refresh` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/gui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(&self); [INFO] [stdout] | ----------------- `render` from trait [INFO] [stdout] 9 | fn refresh(&self); [INFO] [stdout] | ------------------ `refresh` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/html_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ expected `Box`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Button + 'static)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/html_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ expected `Box`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Button + 'static)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `cfg` [INFO] [stdout] --> src/init.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | if cfg(windows) { [INFO] [stdout] | ^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 6 | if cfg!(windows) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `cfg` [INFO] [stdout] --> src/init.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | if cfg(windows) { [INFO] [stdout] | ^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 6 | if cfg!(windows) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/init.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | println("Windows Detected, creating WIndows guu"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | println!("Windows Detected, creating WIndows guu"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/init.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | println("No OS Detected, creating HTML guu"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 10 | println!("No OS Detected, creating HTML guu"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/init.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | println("Windows Detected, creating WIndows guu"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | println!("Windows Detected, creating WIndows guu"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/init.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | println("No OS Detected, creating HTML guu"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 10 | println!("No OS Detected, creating HTML guu"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/windows_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ expected `Box`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Button + 'static)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/windows_gui.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_button(&self) -> Box{ [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ expected `Box`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Button + 'static)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `factory1` (bin "factory1" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `factory1` (bin "factory1") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cb7abd4d93b6e8970954d604c7f8107038ea8918a4784f4a8b234937dc885cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7abd4d93b6e8970954d604c7f8107038ea8918a4784f4a8b234937dc885cf7", kill_on_drop: false }` [INFO] [stdout] cb7abd4d93b6e8970954d604c7f8107038ea8918a4784f4a8b234937dc885cf7