[INFO] cloning repository https://github.com/jfoucher/krui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfoucher/krui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfoucher%2Fkrui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfoucher%2Fkrui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7eccf36365a919b440ff86c6c6e533192d0ef959 [INFO] testing jfoucher/krui against 1.73.0 for beta-1.74-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfoucher%2Fkrui" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfoucher/krui on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jfoucher/krui [INFO] finished tweaking git repo https://github.com/jfoucher/krui [INFO] tweaked toml for git repo https://github.com/jfoucher/krui written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jfoucher/krui 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded viuer v0.6.2 [INFO] [stderr] Downloaded websocket v0.26.5 [INFO] [stderr] Downloaded thread-id v4.1.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded websocket-base v0.26.5 [INFO] [stderr] Downloaded ansi_colours v1.2.2 [INFO] [stderr] Downloaded log4rs v1.2.0 [INFO] [stderr] Downloaded exr v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35673d7aced1e47033fff35863c9e108319e0348ddd00b31665d75227b0fc82b [INFO] running `Command { std: "docker" "start" "-a" "35673d7aced1e47033fff35863c9e108319e0348ddd00b31665d75227b0fc82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35673d7aced1e47033fff35863c9e108319e0348ddd00b31665d75227b0fc82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35673d7aced1e47033fff35863c9e108319e0348ddd00b31665d75227b0fc82b", kill_on_drop: false }` [INFO] [stdout] 35673d7aced1e47033fff35863c9e108319e0348ddd00b31665d75227b0fc82b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3417c808e4893eb034f852c4bead1b14d7471cf4f0ca6efade1b53bbcf39c0c1 [INFO] running `Command { std: "docker" "start" "-a" "3417c808e4893eb034f852c4bead1b14d7471cf4f0ca6efade1b53bbcf39c0c1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling libnghttp2-sys v0.1.8+1.55.1 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling exr v1.7.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling rgb v0.8.36 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.4.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling websocket-base v0.26.5 [INFO] [stderr] Compiling ansi_colours v1.2.2 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thread-id v4.1.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling ratatui v0.23.0 [INFO] [stderr] Compiling websocket v0.26.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling viuer v0.6.2 [INFO] [stderr] Compiling krui v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/ui/webcam.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScrollbarOrientation`, `Scrollbar` [INFO] [stdout] --> src/ui/webcam.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use tui::{widgets::{Borders, Paragraph, Block, Wrap, Scrollbar, ScrollbarOrientation}, prelude::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputMode`, `printer::GCodeLine` [INFO] [stdout] --> src/ui/webcam.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{ui::header, button::Button, markdown, app::{App, InputMode}, printer::GCodeLine}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `printer::Webcam` [INFO] [stdout] --> src/ui.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{app::App, button::{Button, action_button}, printer::Webcam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:474:64 [INFO] [stdout] | [INFO] [stdout] 474 | ... let np = path.as_str().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:475:123 [INFO] [stdout] | [INFO] [stdout] 475 | ... log::info!("Downloading thumbnail {:?}", format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:476:91 [INFO] [stdout] | [INFO] [stdout] 476 | ... easy.url(format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:477:50 [INFO] [stdout] | [INFO] [stdout] 477 | ... let filename = np.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ui/webcam.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | let file = match File::create(filepath.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3417c808e4893eb034f852c4bead1b14d7471cf4f0ca6efade1b53bbcf39c0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3417c808e4893eb034f852c4bead1b14d7471cf4f0ca6efade1b53bbcf39c0c1", kill_on_drop: false }` [INFO] [stdout] 3417c808e4893eb034f852c4bead1b14d7471cf4f0ca6efade1b53bbcf39c0c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b609757466a21a9d22609c3ae3f524a2d9edbda6f25e7bc316db1efe783f0a2 [INFO] running `Command { std: "docker" "start" "-a" "3b609757466a21a9d22609c3ae3f524a2d9edbda6f25e7bc316db1efe783f0a2", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/ui/webcam.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScrollbarOrientation`, `Scrollbar` [INFO] [stdout] --> src/ui/webcam.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use tui::{widgets::{Borders, Paragraph, Block, Wrap, Scrollbar, ScrollbarOrientation}, prelude::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputMode`, `printer::GCodeLine` [INFO] [stdout] --> src/ui/webcam.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{ui::header, button::Button, markdown, app::{App, InputMode}, printer::GCodeLine}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `printer::Webcam` [INFO] [stdout] --> src/ui.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{app::App, button::{Button, action_button}, printer::Webcam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:474:64 [INFO] [stdout] | [INFO] [stdout] 474 | ... let np = path.as_str().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:475:123 [INFO] [stdout] | [INFO] [stdout] 475 | ... log::info!("Downloading thumbnail {:?}", format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:476:91 [INFO] [stdout] | [INFO] [stdout] 476 | ... easy.url(format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:477:50 [INFO] [stdout] | [INFO] [stdout] 477 | ... let filename = np.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ui/webcam.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | let file = match File::create(filepath.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling krui v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/ui/webcam.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScrollbarOrientation`, `Scrollbar` [INFO] [stdout] --> src/ui/webcam.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use tui::{widgets::{Borders, Paragraph, Block, Wrap, Scrollbar, ScrollbarOrientation}, prelude::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputMode`, `printer::GCodeLine` [INFO] [stdout] --> src/ui/webcam.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{ui::header, button::Button, markdown, app::{App, InputMode}, printer::GCodeLine}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `printer::Webcam` [INFO] [stdout] --> src/ui.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{app::App, button::{Button, action_button}, printer::Webcam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:474:64 [INFO] [stdout] | [INFO] [stdout] 474 | ... let np = path.as_str().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:475:123 [INFO] [stdout] | [INFO] [stdout] 475 | ... log::info!("Downloading thumbnail {:?}", format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:476:91 [INFO] [stdout] | [INFO] [stdout] 476 | ... easy.url(format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:477:50 [INFO] [stdout] | [INFO] [stdout] 477 | ... let filename = np.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ui/webcam.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | let file = match File::create(filepath.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3b609757466a21a9d22609c3ae3f524a2d9edbda6f25e7bc316db1efe783f0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b609757466a21a9d22609c3ae3f524a2d9edbda6f25e7bc316db1efe783f0a2", kill_on_drop: false }` [INFO] [stdout] 3b609757466a21a9d22609c3ae3f524a2d9edbda6f25e7bc316db1efe783f0a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63822c60ea10a358727dc0cc25dc133627da5638347a1bd42cd921f6121fef3e [INFO] running `Command { std: "docker" "start" "-a" "63822c60ea10a358727dc0cc25dc133627da5638347a1bd42cd921f6121fef3e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chrono::Timelike` [INFO] [stderr] --> src/ui/webcam.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::Timelike; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ScrollbarOrientation`, `Scrollbar` [INFO] [stderr] --> src/ui/webcam.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | use tui::{widgets::{Borders, Paragraph, Block, Wrap, Scrollbar, ScrollbarOrientation}, prelude::*}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `InputMode`, `printer::GCodeLine` [INFO] [stderr] --> src/ui/webcam.rs:8:62 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::{ui::header, button::Button, markdown, app::{App, InputMode}, printer::GCodeLine}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `printer::Webcam` [INFO] [stderr] --> src/ui.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::{app::App, button::{Button, action_button}, printer::Webcam}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app.rs:474:64 [INFO] [stderr] | [INFO] [stderr] 474 | ... let np = path.as_str().unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app.rs:475:123 [INFO] [stderr] | [INFO] [stderr] 475 | ... log::info!("Downloading thumbnail {:?}", format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app.rs:476:91 [INFO] [stderr] | [INFO] [stderr] 476 | ... easy.url(format!("http://{}/server/files/gcodes/{}", u, np.clone()).as_str()).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/app.rs:477:50 [INFO] [stderr] | [INFO] [stderr] 477 | ... let filename = np.clone().to_string(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/ui/webcam.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | let file = match File::create(filepath.clone()) { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `krui` (lib) generated 9 warnings (run `cargo fix --lib -p krui` to apply 9 suggestions) [INFO] [stderr] warning: `krui` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/krui-3f378aabf8ed943d) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test printer::tests::test_add_temperature_fan_adds_temperature_fan ... ok [INFO] [stdout] test printer::tests::test_adding_new_heater_adds_heater ... ok [INFO] [stdout] test printer::tests::test_update_temperature_fan_data_does_not_add_new_heaters ... ok [INFO] [stdout] test printer::tests::test_update_fan_speed_does_not_change_other_data ... ok [INFO] [stdout] test printer::tests::test_update_fan_speed ... ok [INFO] [stdout] test printer::tests::test_updating_heater_data_does_not_add_new_heaters ... ok [INFO] [stdout] test printer::tests::test_updating_filament_sensor_sets_filament_switch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/krui-8b135bd3ecc81367) [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] [stderr] Doc-tests krui [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] running `Command { std: "docker" "inspect" "63822c60ea10a358727dc0cc25dc133627da5638347a1bd42cd921f6121fef3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63822c60ea10a358727dc0cc25dc133627da5638347a1bd42cd921f6121fef3e", kill_on_drop: false }` [INFO] [stdout] 63822c60ea10a358727dc0cc25dc133627da5638347a1bd42cd921f6121fef3e