[INFO] cloning repository https://github.com/make-a-demo-tool-in-rust/rocket_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/make-a-demo-tool-in-rust/rocket_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmake-a-demo-tool-in-rust%2Frocket_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmake-a-demo-tool-in-rust%2Frocket_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56d0c269f36441f7abbeb412c0666b3ac13d9b85 [INFO] checking make-a-demo-tool-in-rust/rocket_example against master#7702ae16a23407cdd909ff9174294563ae1f4ba3 for pr-97183 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmake-a-demo-tool-in-rust%2Frocket_example" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/make-a-demo-tool-in-rust/rocket_example on toolchain 7702ae16a23407cdd909ff9174294563ae1f4ba3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/make-a-demo-tool-in-rust/rocket_example [INFO] finished tweaking git repo https://github.com/make-a-demo-tool-in-rust/rocket_example [INFO] tweaked toml for git repo https://github.com/make-a-demo-tool-in-rust/rocket_example written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/make-a-demo-tool-in-rust/rocket_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded notify v3.0.1 [INFO] [stderr] Downloaded gdi32-sys v0.1.2 [INFO] [stderr] Downloaded dwmapi-sys v0.1.1 [INFO] [stderr] Downloaded shell32-sys v0.1.2 [INFO] [stderr] Downloaded fsevent v0.2.17 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded filetime v0.1.15 [INFO] [stderr] Downloaded fsevent-sys v0.1.6 [INFO] [stderr] Downloaded inotify v0.2.3 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded objc v0.2.6 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded gleam v0.6.17 [INFO] [stderr] Downloaded rocket_sync v0.1.1 [INFO] [stderr] Downloaded target_build_utils v0.3.1 [INFO] [stderr] Downloaded glutin v0.9.2 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded serde v0.9.15 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded user32-sys v0.1.3 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [INFO] [stderr] Downloaded wayland-window v0.7.0 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded wayland-protocols v0.9.10 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded libc v0.2.54 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded winit v0.7.6 [INFO] [stderr] Downloaded glium v0.17.1 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded cc v1.0.36 [INFO] [stderr] Downloaded rocket_client v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bae4fda13dad50eb7b0bdb345fc210db316c59b2059c004a3c80086c41277f30 [INFO] running `Command { std: "docker" "start" "-a" "bae4fda13dad50eb7b0bdb345fc210db316c59b2059c004a3c80086c41277f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bae4fda13dad50eb7b0bdb345fc210db316c59b2059c004a3c80086c41277f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae4fda13dad50eb7b0bdb345fc210db316c59b2059c004a3c80086c41277f30", kill_on_drop: false }` [INFO] [stdout] bae4fda13dad50eb7b0bdb345fc210db316c59b2059c004a3c80086c41277f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7702ae16a23407cdd909ff9174294563ae1f4ba3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8fff1a79f050188763c1760e7d4b970eab81ba47f07a389184a40e35d9ac189 [INFO] running `Command { std: "docker" "start" "-a" "e8fff1a79f050188763c1760e7d4b970eab81ba47f07a389184a40e35d9ac189", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking rocket_sync v0.1.1 [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 phf v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking inotify v0.2.3 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling glium v0.17.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rocket_client v0.1.1 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking notify v3.0.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.7.0 [INFO] [stderr] Checking winit v0.7.6 [INFO] [stderr] Checking rocket_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `env_logger` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate env_logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `env_logger` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate env_logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/state.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | Err(e) => warn!("{:?}", e), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/state.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | warn!("Rocket disconnected"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/state.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | error!("{}", msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/state.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | Err(e) => warn!("{:?}", e), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/state.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | error!("{:?}", ToolError::Sync(e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/state.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | warn!("Rocket disconnected"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | error!("[*]: Failed to open {:?}", path); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/state.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | error!("{}", msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | error!("[*]: Failed to read {:?}", path); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/state.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | error!("{:?}", ToolError::Sync(e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | info!("main: started"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | error!("[*]: Failed to open {:?}", path); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | Err(e) => error!("{:?}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is in scope, but it is a module, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | error!("[*]: Failed to read {:?}", path); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | info!("Change detected: {:?}", full_path); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | info!("main: started"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | ... info!("Recompiling the shader"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | Err(e) => error!("{:?}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is in scope, but it is a module, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | info!("Change detected: {:?}", full_path); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ToolError` [INFO] [stdout] --> src/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::ToolError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | ... info!("Recompiling the shader"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ToolError` [INFO] [stdout] --> src/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::ToolError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(rocket: &mut Option, track_names: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn new(rocket: &mut Option, track_names: Vec) -> Result> { [INFO] [stdout] 26 + pub fn new(rocket: &mut Option, track_names: Vec) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:69:88 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn update_rocket(&mut self, rocket: &mut Option) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn update_rocket(&mut self, rocket: &mut Option) -> Result<(), Box> { [INFO] [stdout] 69 + pub fn update_rocket(&mut self, rocket: &mut Option) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 36 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] 7 + pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(rocket: &mut Option, track_names: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn new(rocket: &mut Option, track_names: Vec) -> Result> { [INFO] [stdout] 26 + pub fn new(rocket: &mut Option, track_names: Vec) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:69:88 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn update_rocket(&mut self, rocket: &mut Option) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn update_rocket(&mut self, rocket: &mut Option) -> Result<(), Box> { [INFO] [stdout] 69 + pub fn update_rocket(&mut self, rocket: &mut Option) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 36 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] 7 + pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | write!(fmt, "{}:\n{}", kind, self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | write!(fmt, "{}:\n{}", kind, self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_example` due to 13 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rocket_example` due to 13 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8fff1a79f050188763c1760e7d4b970eab81ba47f07a389184a40e35d9ac189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8fff1a79f050188763c1760e7d4b970eab81ba47f07a389184a40e35d9ac189", kill_on_drop: false }` [INFO] [stdout] e8fff1a79f050188763c1760e7d4b970eab81ba47f07a389184a40e35d9ac189