[INFO] fetching crate stdg 0.2.0... [INFO] testing stdg-0.2.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate stdg 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate stdg 0.2.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stdg 0.2.0 [INFO] finished tweaking crates.io crate stdg 0.2.0 [INFO] tweaked toml for crates.io crate stdg 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate stdg 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f9d1925bacff8647615bcf745447ecab044992d825fd10375fdc6bc39d57375 [INFO] running `Command { std: "docker" "start" "-a" "4f9d1925bacff8647615bcf745447ecab044992d825fd10375fdc6bc39d57375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f9d1925bacff8647615bcf745447ecab044992d825fd10375fdc6bc39d57375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9d1925bacff8647615bcf745447ecab044992d825fd10375fdc6bc39d57375", kill_on_drop: false }` [INFO] [stdout] 4f9d1925bacff8647615bcf745447ecab044992d825fd10375fdc6bc39d57375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be5c9fc7f501f9313951470366e5017e66ce6ff6757c95af279e29623297c725 [INFO] running `Command { std: "docker" "start" "-a" "be5c9fc7f501f9313951470366e5017e66ce6ff6757c95af279e29623297c725", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling sw-composite v0.7.2 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling minifb v0.13.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling euclid v0.20.3 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling font-kit v0.4.0 [INFO] [stderr] Compiling raqote v0.7.5 [INFO] [stderr] Compiling stdg v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for mouse x position to be printed to it"), "{}", window.get_mouse_pos(MouseMode::Pass).expect("failed to get x position of mouse").0); [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] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for mouse y position to be printed to it"), "{}", window.get_mouse_pos(MouseMode::Pass).expect("failed to get y position of mouse").1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:370:29 [INFO] [stdout] | [INFO] [stdout] 370 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for keys pressed to be printed to it"), "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:437:33 [INFO] [stdout] | [INFO] [stdout] 437 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Left)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Middle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Right)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:453:29 [INFO] [stdout] | [INFO] [stdout] 453 | / ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is key pressed?\" to be pri... [INFO] [stdout] 454 | | ... "0" => Key::Key0, [INFO] [stdout] 455 | | ... "1" => Key::Key1, [INFO] [stdout] 456 | | ... "2" => Key::Key2, [INFO] [stdout] ... | [INFO] [stdout] 502 | | ... _ => panic!("unsupported key used") [INFO] [stdout] 503 | | ... })); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.23s [INFO] running `Command { std: "docker" "inspect" "be5c9fc7f501f9313951470366e5017e66ce6ff6757c95af279e29623297c725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5c9fc7f501f9313951470366e5017e66ce6ff6757c95af279e29623297c725", kill_on_drop: false }` [INFO] [stdout] be5c9fc7f501f9313951470366e5017e66ce6ff6757c95af279e29623297c725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 641048a4fa987b66e93babfed46deb7c945c8b6e85cd2b1ffe27bd5c880a6c65 [INFO] running `Command { std: "docker" "start" "-a" "641048a4fa987b66e93babfed46deb7c945c8b6e85cd2b1ffe27bd5c880a6c65", kill_on_drop: false }` [INFO] [stderr] Compiling stdg v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for mouse x position to be printed to it"), "{}", window.get_mouse_pos(MouseMode::Pass).expect("failed to get x position of mouse").0); [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] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for mouse y position to be printed to it"), "{}", window.get_mouse_pos(MouseMode::Pass).expect("failed to get y position of mouse").1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:370:29 [INFO] [stdout] | [INFO] [stdout] 370 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for keys pressed to be printed to it"), "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:437:33 [INFO] [stdout] | [INFO] [stdout] 437 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Left)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Middle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Right)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:453:29 [INFO] [stdout] | [INFO] [stdout] 453 | / ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is key pressed?\" to be pri... [INFO] [stdout] 454 | | ... "0" => Key::Key0, [INFO] [stdout] 455 | | ... "1" => Key::Key1, [INFO] [stdout] 456 | | ... "2" => Key::Key2, [INFO] [stdout] ... | [INFO] [stdout] 502 | | ... _ => panic!("unsupported key used") [INFO] [stdout] 503 | | ... })); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "641048a4fa987b66e93babfed46deb7c945c8b6e85cd2b1ffe27bd5c880a6c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641048a4fa987b66e93babfed46deb7c945c8b6e85cd2b1ffe27bd5c880a6c65", kill_on_drop: false }` [INFO] [stdout] 641048a4fa987b66e93babfed46deb7c945c8b6e85cd2b1ffe27bd5c880a6c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1169c2760fb54692e52c054fe2839fd7edb79c4ff2f93eeca7e908dc5eaa2935 [INFO] running `Command { std: "docker" "start" "-a" "1169c2760fb54692e52c054fe2839fd7edb79c4ff2f93eeca7e908dc5eaa2935", kill_on_drop: false }` [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:305:29 [INFO] [stderr] | [INFO] [stderr] 305 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for mouse x position to be printed to it"), "{}", window.get_mouse_pos(MouseMode::Pass).expect("failed to get x position of mouse").0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:309:29 [INFO] [stderr] | [INFO] [stderr] 309 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for mouse y position to be printed to it"), "{}", window.get_mouse_pos(MouseMode::Pass).expect("failed to get y position of mouse").1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:370:29 [INFO] [stderr] | [INFO] [stderr] 370 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for keys pressed to be printed to it"), "{}", output); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:437:33 [INFO] [stderr] | [INFO] [stderr] 437 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Left)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:441:33 [INFO] [stderr] | [INFO] [stderr] 441 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Middle)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:445:33 [INFO] [stderr] | [INFO] [stderr] 445 | ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is mouse pressed?\" to be printed to it"), "{}", window.get_mouse_down(MouseButton::Right)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:453:29 [INFO] [stderr] | [INFO] [stderr] 453 | / ... writeln!(process_in.as_mut().expect("process must be passed as argument to stdg for boolean answer to \"is key pressed?\" to be pri... [INFO] [stderr] 454 | | ... "0" => Key::Key0, [INFO] [stderr] 455 | | ... "1" => Key::Key1, [INFO] [stderr] 456 | | ... "2" => Key::Key2, [INFO] [stderr] ... | [INFO] [stderr] 502 | | ... _ => panic!("unsupported key used") [INFO] [stderr] 503 | | ... })); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stdg` (bin "stdg" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stdg-bf9d0be1ff9d4850) [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" "1169c2760fb54692e52c054fe2839fd7edb79c4ff2f93eeca7e908dc5eaa2935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1169c2760fb54692e52c054fe2839fd7edb79c4ff2f93eeca7e908dc5eaa2935", kill_on_drop: false }` [INFO] [stdout] 1169c2760fb54692e52c054fe2839fd7edb79c4ff2f93eeca7e908dc5eaa2935