[INFO] fetching crate fl2rust 0.4.17... [INFO] testing fl2rust-0.4.17 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate fl2rust 0.4.17 into /workspace/builds/worker-84/source [INFO] validating manifest of crates.io crate fl2rust 0.4.17 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fl2rust 0.4.17 [INFO] finished tweaking crates.io crate fl2rust 0.4.17 [INFO] tweaked toml for crates.io crate fl2rust 0.4.17 written to /workspace/builds/worker-84/source/Cargo.toml [INFO] crate crates.io crate fl2rust 0.4.17 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8902e6bf152eec16ffbaae7e89c03b4a9c474e94f288b6ac956fbe929d163653 [INFO] running `Command { std: "docker" "start" "-a" "8902e6bf152eec16ffbaae7e89c03b4a9c474e94f288b6ac956fbe929d163653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8902e6bf152eec16ffbaae7e89c03b4a9c474e94f288b6ac956fbe929d163653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8902e6bf152eec16ffbaae7e89c03b4a9c474e94f288b6ac956fbe929d163653", kill_on_drop: false }` [INFO] [stdout] 8902e6bf152eec16ffbaae7e89c03b4a9c474e94f288b6ac956fbe929d163653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edaa44e230a728e7f725cd97226e7a769e3634c27afcff2ff1294302bd34fb58 [INFO] running `Command { std: "docker" "start" "-a" "edaa44e230a728e7f725cd97226e7a769e3634c27afcff2ff1294302bd34fb58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling fl2rust v0.4.17 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "edaa44e230a728e7f725cd97226e7a769e3634c27afcff2ff1294302bd34fb58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edaa44e230a728e7f725cd97226e7a769e3634c27afcff2ff1294302bd34fb58", kill_on_drop: false }` [INFO] [stdout] edaa44e230a728e7f725cd97226e7a769e3634c27afcff2ff1294302bd34fb58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d01bd7b37d9ab94f59595ced3b1c2df28da274c6aed6b9668b441eb2c1881102 [INFO] running `Command { std: "docker" "start" "-a" "d01bd7b37d9ab94f59595ced3b1c2df28da274c6aed6b9668b441eb2c1881102", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling fltk-sys v1.2.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling fltk-form-derive v0.1.1 [INFO] [stderr] Compiling fltk v1.2.20 [INFO] [stderr] Compiling fltk-form v0.1.2 [INFO] [stderr] Compiling fl2rust v0.4.17 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `emitui` [INFO] [stdout] --> examples/emitui.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/emitui.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> examples/example.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/emitter.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FltkForm`, `HasProps` [INFO] [stdout] --> examples/emitter.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use fltk_form::{FltkForm, HasProps}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fl2rust` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `mockui` [INFO] [stdout] --> examples/mockui.rs:69:2 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/mockui.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `myuifile` [INFO] [stdout] --> examples/myuifile.rs:98:2 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/myuifile.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasProps` [INFO] [stdout] --> examples/fltkform.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use fltk_form::{FltkForm, HasProps}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `editor` is never read [INFO] [stdout] --> examples/emitter.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut editor = text::TextEditor::new(15, 55, 400, 260, ""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> examples/emitter.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/emitter.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fl2rust` due to 2 previous errors [INFO] [stderr] error: could not compile `fl2rust` due to 2 previous errors [INFO] [stdout] warning: unused variable: `inner_content` [INFO] [stdout] --> examples/fltkform.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let inner_content = page1.generate(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page2` [INFO] [stdout] --> examples/fltkform.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut page2 = Contact::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_page2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_content` [INFO] [stdout] --> examples/fltkform.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let inner_content = page1.generate(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fltkform.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut page1 = Contact::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fltkform.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut page2 = Contact::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> examples/fltkform.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fltkform.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Watonga` [INFO] [stdout] --> examples/fltkform.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Watonga, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fltkform.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Copy, FltkForm)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Shawnee` [INFO] [stdout] --> examples/fltkform.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Shawnee, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fltkform.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Copy, FltkForm)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawhuska` [INFO] [stdout] --> examples/fltkform.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Pawhuska, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `City` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fltkform.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Copy, FltkForm)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oklahoma` [INFO] [stdout] --> examples/fltkform.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Oklahoma, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fltkform.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Clone, Copy, FltkForm)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d01bd7b37d9ab94f59595ced3b1c2df28da274c6aed6b9668b441eb2c1881102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01bd7b37d9ab94f59595ced3b1c2df28da274c6aed6b9668b441eb2c1881102", kill_on_drop: false }` [INFO] [stdout] d01bd7b37d9ab94f59595ced3b1c2df28da274c6aed6b9668b441eb2c1881102