[INFO] fetching crate dcpu16-gui 0.2.0... [INFO] checking dcpu16-gui-0.2.0 against try#34cf026bde0f1d85725f44f69476992693389da0 for pr-108918 [INFO] extracting crate dcpu16-gui 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate dcpu16-gui 0.2.0 on toolchain 34cf026bde0f1d85725f44f69476992693389da0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dcpu16-gui 0.2.0 [INFO] finished tweaking crates.io crate dcpu16-gui 0.2.0 [INFO] tweaked toml for crates.io crate dcpu16-gui 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1175366a7edd5602a8f7a48bbf4d3fd7c067adeeeee7dd3fc6f68a3768d4454 [INFO] running `Command { std: "docker" "start" "-a" "f1175366a7edd5602a8f7a48bbf4d3fd7c067adeeeee7dd3fc6f68a3768d4454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1175366a7edd5602a8f7a48bbf4d3fd7c067adeeeee7dd3fc6f68a3768d4454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1175366a7edd5602a8f7a48bbf4d3fd7c067adeeeee7dd3fc6f68a3768d4454", kill_on_drop: false }` [INFO] [stdout] f1175366a7edd5602a8f7a48bbf4d3fd7c067adeeeee7dd3fc6f68a3768d4454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+34cf026bde0f1d85725f44f69476992693389da0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 761ad958b90ad0b78593963cd7e02bd6f59d1979192c19f67a5576863b923494 [INFO] running `Command { std: "docker" "start" "-a" "761ad958b90ad0b78593963cd7e02bd6f59d1979192c19f67a5576863b923494", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Checking pistoncore-input v0.15.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking pistoncore-window v0.24.0 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking read_color v0.1.0 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Checking piston2d-graphics v0.19.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking gfx v0.12.2 [INFO] [stderr] Checking image v0.10.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking pistoncore-event_loop v0.27.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.1.0 [INFO] [stderr] Checking piston v0.27.0 [INFO] [stderr] Checking dcpu16 v0.1.0 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking piston-gfx_texture v0.18.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.33.2 [INFO] [stderr] Checking piston2d-opengl_graphics v0.36.2 [INFO] [stderr] Checking gfx_device_gl v0.11.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.8 [INFO] [stderr] Checking wayland-window v0.4.4 [INFO] [stderr] Checking wayland-kbd v0.6.3 [INFO] [stderr] Checking winit v0.5.11 [INFO] [stderr] Checking pistoncore-glutin_window v0.33.0 [INFO] [stderr] Checking piston_window v0.58.0 [INFO] [stderr] Checking dcpu16-gui v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | img.put_pixel((k as u32 % MONITOR_WIDTH), k as u32 / MONITOR_WIDTH as u32, color); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 398 - img.put_pixel((k as u32 % MONITOR_WIDTH), k as u32 / MONITOR_WIDTH as u32, color); [INFO] [stdout] 398 + img.put_pixel(k as u32 % MONITOR_WIDTH, k as u32 / MONITOR_WIDTH as u32, color); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | img.put_pixel((k as u32 % MONITOR_WIDTH), k as u32 / MONITOR_WIDTH as u32, color); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 398 - img.put_pixel((k as u32 % MONITOR_WIDTH), k as u32 / MONITOR_WIDTH as u32, color); [INFO] [stdout] 398 + img.put_pixel(k as u32 % MONITOR_WIDTH, k as u32 / MONITOR_WIDTH as u32, color); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:278:26 [INFO] [stdout] | [INFO] [stdout] 278 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:278:26 [INFO] [stdout] | [INFO] [stdout] 278 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut slice = &mut v[..]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut slice = &mut v[..]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "761ad958b90ad0b78593963cd7e02bd6f59d1979192c19f67a5576863b923494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761ad958b90ad0b78593963cd7e02bd6f59d1979192c19f67a5576863b923494", kill_on_drop: false }` [INFO] [stdout] 761ad958b90ad0b78593963cd7e02bd6f59d1979192c19f67a5576863b923494