[INFO] fetching crate firework 0.1.0... [INFO] checking firework-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate firework 0.1.0 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate firework 0.1.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate firework 0.1.0 [INFO] finished tweaking crates.io crate firework 0.1.0 [INFO] tweaked toml for crates.io crate firework 0.1.0 written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate crates.io crate firework 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-map v0.6.4 [INFO] [stderr] Downloaded slotmap v1.0.2 [INFO] [stderr] Downloaded glam v0.12.0 [INFO] [stderr] Downloaded mio v0.7.9 [INFO] [stderr] Downloaded enum-map-derive v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92aa54310fc5d724c5130ea2268e286a82414d700466baf945cd99f53b06c47d [INFO] running `Command { std: "docker" "start" "-a" "92aa54310fc5d724c5130ea2268e286a82414d700466baf945cd99f53b06c47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92aa54310fc5d724c5130ea2268e286a82414d700466baf945cd99f53b06c47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92aa54310fc5d724c5130ea2268e286a82414d700466baf945cd99f53b06c47d", kill_on_drop: false }` [INFO] [stdout] 92aa54310fc5d724c5130ea2268e286a82414d700466baf945cd99f53b06c47d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c960090c049cd0e96beb4c54ed4bf1e10f955b599a6d6d10cd7d0030189d7ca9 [INFO] running `Command { std: "docker" "start" "-a" "c960090c049cd0e96beb4c54ed4bf1e10f955b599a6d6d10cd7d0030189d7ca9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.88: align [INFO] [stderr] libc v0.2.88 (as host dependency): align, default, std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking glam v0.12.0 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling slotmap v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking enum-map v0.6.4 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking firework v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `firework` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/common/msg.rs [INFO] [stderr] * src/gpu/device/logical.rs [INFO] [stderr] * src/gpu/extension.rs [INFO] [stderr] * src/gpu/instance.rs [INFO] [stderr] * src/gpu/validation_layer.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/gpu/device/logical.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | info!("Device extensions".bold().underlined()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] log::info [INFO] [stderr] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/gpu/extension.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | info!(format_found_exts(&found_exts)); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] log::info [INFO] [stderr] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/gpu/instance.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | info!("Instance extensions".bold().underlined().white()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] log::info [INFO] [stderr] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/gpu/validation_layer.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | info!("Validation layers".bold().underlined().white()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] log::info [INFO] [stderr] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/gpu/validation_layer.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | info!( [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] log::info [INFO] [stderr] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/common/msg.rs:29:41 [INFO] [stderr] | [INFO] [stderr] 29 | log::debug!($target, $($args),*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/application/window.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | debug!("WINDOW RESIZED: {}, {}", width, height) [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `debug` [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/common/msg.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / macro_rules! $macro { [INFO] [stderr] 8 | | ($msg:expr) => ( [INFO] [stderr] 9 | | log::$macro! { "{}", $msg } [INFO] [stderr] 10 | | ); [INFO] [stderr] ... | [INFO] [stderr] 13 | | ); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] ... [INFO] [stderr] 18 | write_macro!(trace!); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/common/msg.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / macro_rules! $macro { [INFO] [stderr] 8 | | ($msg:expr) => ( [INFO] [stderr] 9 | | log::$macro! { "{}", $msg } [INFO] [stderr] 10 | | ); [INFO] [stderr] ... | [INFO] [stderr] 13 | | ); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] ... [INFO] [stderr] 19 | write_macro!(info!); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `msg::*` [INFO] [stderr] --> src/gpu/device/logical.rs:5:43 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::common::{error::*, ffi::Names, msg::*}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `msg::*` [INFO] [stderr] --> src/gpu/instance.rs:4:43 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::common::{error::*, ffi::Names, msg::*}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/gpu/device/logical.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | info!("Device extensions".bold().underlined()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/gpu/extension.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | info!(format_found_exts(&found_exts)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/gpu/instance.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | info!("Instance extensions".bold().underlined().white()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/gpu/validation_layer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | info!("Validation layers".bold().underlined().white()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/gpu/validation_layer.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/common/msg.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | log::debug!($target, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/application/window.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | debug!("WINDOW RESIZED: {}, {}", width, height) [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `debug` [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/msg.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / macro_rules! $macro { [INFO] [stdout] 8 | | ($msg:expr) => ( [INFO] [stdout] 9 | | log::$macro! { "{}", $msg } [INFO] [stdout] 10 | | ); [INFO] [stdout] ... | [INFO] [stdout] 13 | | ); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 18 | write_macro!(trace!); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/msg.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / macro_rules! $macro { [INFO] [stdout] 8 | | ($msg:expr) => ( [INFO] [stdout] 9 | | log::$macro! { "{}", $msg } [INFO] [stdout] 10 | | ); [INFO] [stdout] ... | [INFO] [stdout] 13 | | ); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 19 | write_macro!(info!); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `msg::*` [INFO] [stdout] --> src/gpu/device/logical.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::common::{error::*, ffi::Names, msg::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `msg::*` [INFO] [stdout] --> src/gpu/instance.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{error::*, ffi::Names, msg::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/common/msg.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | log::debug!($target, $($args),*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/application/window.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | debug!("WINDOW RESIZED: {}, {}", width, height) [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `debug` [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/msg.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / macro_rules! $macro { [INFO] [stdout] 8 | | ($msg:expr) => ( [INFO] [stdout] 9 | | log::$macro! { "{}", $msg } [INFO] [stdout] 10 | | ); [INFO] [stdout] ... | [INFO] [stdout] 13 | | ); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 18 | write_macro!(trace!); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$macro` [INFO] [stdout] --> src/common/msg.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) use $macro; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | write_macro!(trace!); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr_from` [INFO] [stdout] --> src/gpu/validation_layer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ffi::{ptr_from, str_from_raw_string_buffer, Names}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `firework` due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `available_present_modes` [INFO] [stdout] --> src/gpu/swapchain.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | available_present_modes: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_present_modes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/gpu/debug_messenger.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let types = match message_type { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `physical` [INFO] [stdout] --> src/gpu/device.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn physical(&self) -> vk::PhysicalDevice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SwapChainSupportDetails` [INFO] [stdout] --> src/gpu/swapchain.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct SwapChainSupportDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Swapchain` [INFO] [stdout] --> src/gpu/swapchain.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Swapchain { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/gpu/swapchain.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create(instance: &ash::Instance, device: &Device, surface: &Surface) -> Swapchain { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `query_support` [INFO] [stdout] --> src/gpu/swapchain.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn query_support( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_swapchain_format` [INFO] [stdout] --> src/gpu/swapchain.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn choose_swapchain_format(available_formats: &Vec) -> vk::SurfaceFormatKHR { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_swapchain_present_mode` [INFO] [stdout] --> src/gpu/swapchain.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn choose_swapchain_present_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `choose_swapchain_extent` [INFO] [stdout] --> src/gpu/swapchain.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn choose_swapchain_extent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `graphics_queue` [INFO] [stdout] --> src/gpu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | graphics_queue: vk::Queue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `presentation_queue` [INFO] [stdout] --> src/gpu.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | presentation_queue: vk::Queue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c960090c049cd0e96beb4c54ed4bf1e10f955b599a6d6d10cd7d0030189d7ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c960090c049cd0e96beb4c54ed4bf1e10f955b599a6d6d10cd7d0030189d7ca9", kill_on_drop: false }` [INFO] [stdout] c960090c049cd0e96beb4c54ed4bf1e10f955b599a6d6d10cd7d0030189d7ca9