[INFO] cloning repository https://github.com/jdmichaud/wgrep2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdmichaud/wgrep2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ae922fd86e3cff33d59d17ea5ff82553b70a45b [INFO] checking jdmichaud/wgrep2 against master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdmichaud/wgrep2 on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jdmichaud/wgrep2 [INFO] finished tweaking git repo https://github.com/jdmichaud/wgrep2 [INFO] tweaked toml for git repo https://github.com/jdmichaud/wgrep2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jdmichaud/wgrep2 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" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking jdmichaud/wgrep2 against master#09bc67b9158392361780e779d32997f14cc75c39 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdmichaud/wgrep2 on toolchain 09bc67b9158392361780e779d32997f14cc75c39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jdmichaud/wgrep2 [INFO] finished tweaking git repo https://github.com/jdmichaud/wgrep2 [INFO] tweaked toml for git repo https://github.com/jdmichaud/wgrep2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jdmichaud/wgrep2 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" "+09bc67b9158392361780e779d32997f14cc75c39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [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 serde_json v0.9.9 [INFO] [stderr] Downloaded serde v0.9.11 [INFO] [stderr] Downloaded syn v0.11.9 [INFO] [stderr] Downloaded serde_derive v0.9.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d31d6428bdbf741502369ad88c66b56d13fc4cacb9bfb768d7954acdc7e629b [INFO] running `Command { std: "docker" "start" "-a" "5d31d6428bdbf741502369ad88c66b56d13fc4cacb9bfb768d7954acdc7e629b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d31d6428bdbf741502369ad88c66b56d13fc4cacb9bfb768d7954acdc7e629b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d31d6428bdbf741502369ad88c66b56d13fc4cacb9bfb768d7954acdc7e629b", kill_on_drop: false }` [INFO] [stdout] 5d31d6428bdbf741502369ad88c66b56d13fc4cacb9bfb768d7954acdc7e629b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1474f01c6c0e6b599e22359165a68251dc492538ff742bb32d1d736fee7de78 [INFO] running `Command { std: "docker" "start" "-a" "d1474f01c6c0e6b599e22359165a68251dc492538ff742bb32d1d736fee7de78", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking serde v0.9.11 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.9 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.12 [INFO] [stderr] Checking serde_json v0.9.9 [INFO] [stderr] Checking wgrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/wglib/server.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let res = serde_json::from_str(buffer); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 22 | let res = serde_json::from_str::(buffer); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/wglib/server.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let res = serde_json::from_str(buffer); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 22 | let res = serde_json::from_str::(buffer); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/wglib/server.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | res = serde_json::from_str(buffer); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 26 | res = serde_json::from_str::(buffer); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/wglib/server.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | res = serde_json::from_str(buffer); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 26 | res = serde_json::from_str::(buffer); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde` [INFO] [stdout] --> src/wglib/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde` [INFO] [stdout] --> src/wglib/error.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde` [INFO] [stdout] --> src/wglib/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde` [INFO] [stdout] --> src/wglib/error.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: visibility qualifiers are not permitted here [INFO] [stdout] --> src/wglib/server.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: trait items always share the visibility of their trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: visibility qualifiers are not permitted here [INFO] [stdout] --> src/wglib/server.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send(&mut self, value: Value) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: trait items always share the visibility of their trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wglib::buffer` [INFO] [stdout] --> src/wglib/request.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wglib::buffer::*; [INFO] [stdout] | ^^^^^^ could not find `buffer` in `wglib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: visibility qualifiers are not permitted here [INFO] [stdout] --> src/wglib/server.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: trait items always share the visibility of their trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: visibility qualifiers are not permitted here [INFO] [stdout] --> src/wglib/server.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send(&mut self, value: Value) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: trait items always share the visibility of their trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wglib::buffer` [INFO] [stdout] --> src/wglib/request.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wglib::buffer::*; [INFO] [stdout] | ^^^^^^ could not find `buffer` in `wglib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/wglib/request.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | verb: &str, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 5 ~ struct Request<'a> { [INFO] [stdout] 6 ~ verb: &'a str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/wglib/server.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(request) = res; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/wglib/server.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | F(request, self.send); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/wglib/request.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | verb: &str, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 5 ~ struct Request<'a> { [INFO] [stdout] 6 ~ verb: &'a str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn handle_request(request: Request, send: Fn(FDServer, &str)) -> () { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/wglib/server.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use wglib::request::Request; [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> src/wglib/request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/wglib/count.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/wglib/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/wglib/server.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(request) = res; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wglib::error::*` [INFO] [stdout] --> src/wglib/request.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wglib::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request` in this scope [INFO] [stdout] --> src/wglib/server.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | F(request, self.send); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/wglib/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn handle_request(request: Request, send: Fn(FDServer, &str)) -> () { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/wglib/server.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use wglib::request::Request; [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> src/wglib/request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wglib::count::count` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wglib::count::count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/wglib/count.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/wglib/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wglib::error::*` [INFO] [stdout] --> src/wglib/request.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wglib::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/wglib/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wglib::count::count` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wglib::count::count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | fn handle_request(request: Request, send: Fn(FDServer, &str)) -> () { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn handle_request(request: Request, send: dyn Fn(FDServer, &str)) -> () { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wglib/server.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, dyn Fn(WGServer, &str)) -> (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wglib/server.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(dyn WGServer, &str)) -> (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wglib/server.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, dyn Fn(&str)) -> () { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found type parameter `F` [INFO] [stdout] --> src/wglib/server.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 29 | F(request, self.send); [INFO] [stdout] | ^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/wglib/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | match register(filename) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0423, E0425, E0432, E0449, E0463, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | fn handle_request(request: Request, send: Fn(FDServer, &str)) -> () { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn handle_request(request: Request, send: dyn Fn(FDServer, &str)) -> () { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wglib/server.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, dyn Fn(WGServer, &str)) -> (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgrep` (bin "wgrep" test) due to 15 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wglib/server.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(dyn WGServer, &str)) -> (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wglib/server.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, dyn Fn(&str)) -> () { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found type parameter `F` [INFO] [stdout] --> src/wglib/server.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 29 | F(request, self.send); [INFO] [stdout] | ^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/wglib/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | match register(filename) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0423, E0425, E0432, E0449, E0463, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgrep` (bin "wgrep") due to 15 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d1474f01c6c0e6b599e22359165a68251dc492538ff742bb32d1d736fee7de78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1474f01c6c0e6b599e22359165a68251dc492538ff742bb32d1d736fee7de78", kill_on_drop: false }` [INFO] [stdout] d1474f01c6c0e6b599e22359165a68251dc492538ff742bb32d1d736fee7de78