[INFO] cloning repository https://github.com/hengsleep/Rust-flappy-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hengsleep/Rust-flappy-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhengsleep%2FRust-flappy-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhengsleep%2FRust-flappy-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af1e723e47850081ea222d7a3bad0ec668597ff6 [INFO] building hengsleep/Rust-flappy-game against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhengsleep%2FRust-flappy-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hengsleep/Rust-flappy-game [INFO] finished tweaking git repo https://github.com/hengsleep/Rust-flappy-game [INFO] tweaked toml for git repo https://github.com/hengsleep/Rust-flappy-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hengsleep/Rust-flappy-game on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hengsleep/Rust-flappy-game 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94474d0569a120e2539d67b72e4db15420a6c2d9767cd722f1c770f2821c6d6e [INFO] running `Command { std: "docker" "start" "-a" "94474d0569a120e2539d67b72e4db15420a6c2d9767cd722f1c770f2821c6d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94474d0569a120e2539d67b72e4db15420a6c2d9767cd722f1c770f2821c6d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94474d0569a120e2539d67b72e4db15420a6c2d9767cd722f1c770f2821c6d6e", kill_on_drop: false }` [INFO] [stdout] 94474d0569a120e2539d67b72e4db15420a6c2d9767cd722f1c770f2821c6d6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efefcfd597d1dc3d1aa450ef6a3c8ab85ddadcd1464f70a84261301c35b577f7 [INFO] running `Command { std: "docker" "start" "-a" "efefcfd597d1dc3d1aa450ef6a3c8ab85ddadcd1464f70a84261301c35b577f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling wide v0.7.16 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling FirstGame-flappy-Xheng1934 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format;//标准库中的std::fmt模块中的format函数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | fn new(_x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 24 - fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] 24 + fn new(SCREEN_HEIGHT: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | fn new(x: i32, _y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 24 - fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] 24 + fn new(x: i32, SCREEN_HEIGHT: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "efefcfd597d1dc3d1aa450ef6a3c8ab85ddadcd1464f70a84261301c35b577f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efefcfd597d1dc3d1aa450ef6a3c8ab85ddadcd1464f70a84261301c35b577f7", kill_on_drop: false }` [INFO] [stdout] efefcfd597d1dc3d1aa450ef6a3c8ab85ddadcd1464f70a84261301c35b577f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03aaf3d357bba090a3d2c7ec546c98adc144f005919e3cf81fa607237be9aa6a [INFO] running `Command { std: "docker" "start" "-a" "03aaf3d357bba090a3d2c7ec546c98adc144f005919e3cf81fa607237be9aa6a", kill_on_drop: false }` [INFO] [stderr] Compiling FirstGame-flappy-Xheng1934 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format;//标准库中的std::fmt模块中的format函数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | fn new(_x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 24 - fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] 24 + fn new(SCREEN_HEIGHT: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | fn new(x: i32, _y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 24 - fn new(x: i32, y: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] 24 + fn new(x: i32, SCREEN_HEIGHT: i32) -> Self {//Self表示当前方法所属的结构体类型,返回更调用new函数的类型相同的类型 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "03aaf3d357bba090a3d2c7ec546c98adc144f005919e3cf81fa607237be9aa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03aaf3d357bba090a3d2c7ec546c98adc144f005919e3cf81fa607237be9aa6a", kill_on_drop: false }` [INFO] [stdout] 03aaf3d357bba090a3d2c7ec546c98adc144f005919e3cf81fa607237be9aa6a