[INFO] cloning repository https://github.com/USATU-Programming-project-2021/PresFrontend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/USATU-Programming-project-2021/PresFrontend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUSATU-Programming-project-2021%2FPresFrontend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUSATU-Programming-project-2021%2FPresFrontend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fe10c89fbf0b8d3f94ad74b122eb0f068e59aa5 [INFO] building USATU-Programming-project-2021/PresFrontend against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUSATU-Programming-project-2021%2FPresFrontend" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/USATU-Programming-project-2021/PresFrontend on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/USATU-Programming-project-2021/PresFrontend [INFO] finished tweaking git repo https://github.com/USATU-Programming-project-2021/PresFrontend [INFO] tweaked toml for git repo https://github.com/USATU-Programming-project-2021/PresFrontend written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/USATU-Programming-project-2021/PresFrontend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eframe v0.11.0 [INFO] [stderr] Downloaded emath v0.11.0 [INFO] [stderr] Downloaded atomic_refcell v0.1.6 [INFO] [stderr] Downloaded egui_web v0.11.0 [INFO] [stderr] Downloaded egui v0.11.0 [INFO] [stderr] Downloaded epaint v0.11.0 [INFO] [stderr] Downloaded egui_glium v0.11.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.2 [INFO] [stderr] Downloaded epi v0.11.0 [INFO] [stderr] Downloaded glium v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b71b5cfa5313d0cdf5938626d48c1ce67ba7544d1fa6e3e6c969dd4504dd1cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b71b5cfa5313d0cdf5938626d48c1ce67ba7544d1fa6e3e6c969dd4504dd1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b71b5cfa5313d0cdf5938626d48c1ce67ba7544d1fa6e3e6c969dd4504dd1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b71b5cfa5313d0cdf5938626d48c1ce67ba7544d1fa6e3e6c969dd4504dd1cb", kill_on_drop: false }` [INFO] [stdout] 4b71b5cfa5313d0cdf5938626d48c1ce67ba7544d1fa6e3e6c969dd4504dd1cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997353b9c8b55ccc546a3b290e94448ec855d1c87ffe8b1db10051ae542a064e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "997353b9c8b55ccc546a3b290e94448ec855d1c87ffe8b1db10051ae542a064e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling emath v0.11.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling atomic_refcell v0.1.6 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling ordered-float v2.1.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.29.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling epaint v0.11.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling egui v0.11.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling epi v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling x11-clipboard v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.2 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.3 [INFO] [stderr] Compiling copypasta v0.7.1 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling egui_glium v0.11.0 [INFO] [stderr] Compiling eframe v0.11.0 [INFO] [stderr] Compiling presx v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::slide::SlideYml` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::analyzer::slide::SlideYml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/validators/validator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/validators/validator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/validators/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/validators/slide.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pres_yml` [INFO] [stdout] --> src/validators/presentation.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_valid(pres_yml: &PresYml) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pres_yml` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid` [INFO] [stdout] --> src/validators/slide.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_valid(yml_object: &SlideYml) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyzer/presentation.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `presx::analyzer::slide::SlideYml` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use presx::analyzer::slide::SlideYml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `presx::validators::slide` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use presx::validators::slide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `presx::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use presx::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 46s [INFO] running `Command { std: "docker" "inspect" "997353b9c8b55ccc546a3b290e94448ec855d1c87ffe8b1db10051ae542a064e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997353b9c8b55ccc546a3b290e94448ec855d1c87ffe8b1db10051ae542a064e", kill_on_drop: false }` [INFO] [stdout] 997353b9c8b55ccc546a3b290e94448ec855d1c87ffe8b1db10051ae542a064e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 235d20660c72c62cbc96bd5c6e8733147cf1c09e4e83bd1ea3dba4910362116b [INFO] running `Command { std: "docker" "start" "-a" "235d20660c72c62cbc96bd5c6e8733147cf1c09e4e83bd1ea3dba4910362116b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::slide::SlideYml` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::analyzer::slide::SlideYml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/validators/validator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/validators/validator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/validators/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/validators/slide.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pres_yml` [INFO] [stdout] --> src/validators/presentation.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_valid(pres_yml: &PresYml) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pres_yml` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid` [INFO] [stdout] --> src/validators/slide.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_valid(yml_object: &SlideYml) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyzer/presentation.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling presx v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `presx::analyzer::slide::SlideYml` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use presx::analyzer::slide::SlideYml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `presx::validators::slide` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use presx::validators::slide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `presx::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use presx::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::slide::SlideYml` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::analyzer::slide::SlideYml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/validators/validator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/validators/validator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/validators/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyzer::generic_analyzer::YmlAnalyzer` [INFO] [stdout] --> src/validators/slide.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::analyzer::generic_analyzer::YmlAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pres_yml` [INFO] [stdout] --> src/validators/presentation.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_valid(pres_yml: &PresYml) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pres_yml` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid` [INFO] [stdout] --> src/validators/slide.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_valid(yml_object: &SlideYml) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyzer/presentation.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.13s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/presx-41e0f3a21cecf957) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/presx-081b7824ec34aa8b) [INFO] running `Command { std: "docker" "inspect" "235d20660c72c62cbc96bd5c6e8733147cf1c09e4e83bd1ea3dba4910362116b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235d20660c72c62cbc96bd5c6e8733147cf1c09e4e83bd1ea3dba4910362116b", kill_on_drop: false }` [INFO] [stdout] 235d20660c72c62cbc96bd5c6e8733147cf1c09e4e83bd1ea3dba4910362116b