[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] testing make-a-demo-tool-in-rust/rocket_example against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [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-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/make-a-demo-tool-in-rust/rocket_example on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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 miow v0.1.5 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded libloading v0.3.4 [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded inotify v0.2.3 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded gl_generator v0.5.5 [INFO] [stderr] Downloaded glutin v0.9.2 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [INFO] [stderr] Downloaded winit v0.7.6 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded wayland-protocols v0.9.10 [INFO] [stderr] Downloaded notify v3.0.1 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded wayland-window v0.7.0 [INFO] [stderr] Downloaded khronos_api v1.0.1 [INFO] [stderr] Downloaded glium v0.17.1 [INFO] [stderr] Downloaded rocket_client v0.1.1 [INFO] [stderr] Downloaded rocket_sync v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a509de1548c440986b26c755211f2a3cb060f1e894a7bcec761b83deeb4e1ba [INFO] running `Command { std: "docker" "start" "-a" "2a509de1548c440986b26c755211f2a3cb060f1e894a7bcec761b83deeb4e1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a509de1548c440986b26c755211f2a3cb060f1e894a7bcec761b83deeb4e1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a509de1548c440986b26c755211f2a3cb060f1e894a7bcec761b83deeb4e1ba", kill_on_drop: false }` [INFO] [stdout] 2a509de1548c440986b26c755211f2a3cb060f1e894a7bcec761b83deeb4e1ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a848cf3c014ca204c0e3017e02d2f7bcaf802a298330b64343fd92f1939f9317 [INFO] running `Command { std: "docker" "start" "-a" "a848cf3c014ca204c0e3017e02d2f7bcaf802a298330b64343fd92f1939f9317", 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] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rocket_sync v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling inotify v0.2.3 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling glium v0.17.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling rocket_client v0.1.1 [INFO] [stderr] Compiling notify v3.0.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling 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 `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 `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 `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/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: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/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] 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn file_to_string(path: &PathBuf) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut d = self.get_sync_device_mut(); [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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_example` (bin "rocket_example") due to 12 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a848cf3c014ca204c0e3017e02d2f7bcaf802a298330b64343fd92f1939f9317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a848cf3c014ca204c0e3017e02d2f7bcaf802a298330b64343fd92f1939f9317", kill_on_drop: false }` [INFO] [stdout] a848cf3c014ca204c0e3017e02d2f7bcaf802a298330b64343fd92f1939f9317