[INFO] fetching crate stdg 0.2.0... [INFO] testing stdg-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stdg 0.2.0 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate stdg 0.2.0 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 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-16/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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] 5800990f016a445f217a405d0e62606229a3dafa16fb4fed83df3a204afa040c [INFO] running `Command { std: "docker" "start" "-a" "5800990f016a445f217a405d0e62606229a3dafa16fb4fed83df3a204afa040c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5800990f016a445f217a405d0e62606229a3dafa16fb4fed83df3a204afa040c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5800990f016a445f217a405d0e62606229a3dafa16fb4fed83df3a204afa040c", kill_on_drop: false }` [INFO] [stdout] 5800990f016a445f217a405d0e62606229a3dafa16fb4fed83df3a204afa040c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] d47f9c794fbd74c74bf79687c0ddec0151bb7c2673009efbe78ad81e48d55785 [INFO] running `Command { std: "docker" "start" "-a" "d47f9c794fbd74c74bf79687c0ddec0151bb7c2673009efbe78ad81e48d55785", 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 autocfg v0.1.7 [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 cast v0.2.2 [INFO] [stderr] Compiling sw-composite v0.7.2 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling minifb v0.13.0 [INFO] [stderr] Compiling deflate v0.7.20 [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 servo-fontconfig v0.4.0 [INFO] [stderr] Compiling euclid v0.20.3 [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").... [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").... [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 6.43s [INFO] running `Command { std: "docker" "inspect" "d47f9c794fbd74c74bf79687c0ddec0151bb7c2673009efbe78ad81e48d55785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47f9c794fbd74c74bf79687c0ddec0151bb7c2673009efbe78ad81e48d55785", kill_on_drop: false }` [INFO] [stdout] d47f9c794fbd74c74bf79687c0ddec0151bb7c2673009efbe78ad81e48d55785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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] 00523198e73483074ff148f91c15006be90ae83d331a84cd4586c65ece548d76 [INFO] running `Command { std: "docker" "start" "-a" "00523198e73483074ff148f91c15006be90ae83d331a84cd4586c65ece548d76", 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").... [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").... [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.66s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/stdg-576283172925c06e) [INFO] running `Command { std: "docker" "inspect" "00523198e73483074ff148f91c15006be90ae83d331a84cd4586c65ece548d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00523198e73483074ff148f91c15006be90ae83d331a84cd4586c65ece548d76", kill_on_drop: false }` [INFO] [stdout] 00523198e73483074ff148f91c15006be90ae83d331a84cd4586c65ece548d76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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", kill_on_drop: false }` [INFO] [stdout] c14e821abfdfb7c0292dcb5ed2b9af1d8dc6bfabac393a501ce5252b2ecdd5ec [INFO] running `Command { std: "docker" "start" "-a" "c14e821abfdfb7c0292dcb5ed2b9af1d8dc6bfabac393a501ce5252b2ecdd5ec", 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").... [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").... [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.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stdg-576283172925c06e) [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" "c14e821abfdfb7c0292dcb5ed2b9af1d8dc6bfabac393a501ce5252b2ecdd5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c14e821abfdfb7c0292dcb5ed2b9af1d8dc6bfabac393a501ce5252b2ecdd5ec", kill_on_drop: false }` [INFO] [stdout] c14e821abfdfb7c0292dcb5ed2b9af1d8dc6bfabac393a501ce5252b2ecdd5ec