[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] testing jdmichaud/wgrep2 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdmichaud/wgrep2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07929d57c9809d2cb1f5651389102d93f3e2b288285d90d41188239dfe0d2f5e [INFO] running `Command { std: "docker" "start" "-a" "07929d57c9809d2cb1f5651389102d93f3e2b288285d90d41188239dfe0d2f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07929d57c9809d2cb1f5651389102d93f3e2b288285d90d41188239dfe0d2f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07929d57c9809d2cb1f5651389102d93f3e2b288285d90d41188239dfe0d2f5e", kill_on_drop: false }` [INFO] [stdout] 07929d57c9809d2cb1f5651389102d93f3e2b288285d90d41188239dfe0d2f5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a661bb2075a314ab192ca39932af445a75fa63ce3d4e83aa7046da716dbdd1e [INFO] running `Command { std: "docker" "start" "-a" "4a661bb2075a314ab192ca39932af445a75fa63ce3d4e83aa7046da716dbdd1e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v0.9.11 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.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_json v0.9.9 [INFO] [stderr] Compiling serde_derive v0.9.12 [INFO] [stderr] Compiling 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: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[E0449]: unnecessary visibility qualifier [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] | ^^^ `pub` not permitted here because it's implied [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: unnecessary visibility qualifier [INFO] [stdout] --> src/wglib/server.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send(&mut self, value: Value) -> () { [INFO] [stdout] | ^^^ `pub` not permitted here because it's implied [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[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[E0423]: expected function, tuple struct or tuple variant, found type parameter `F` [INFO] [stdout] --> src/wglib/server.rs:29:5 [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 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[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[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] note: struct `wglib::request::Request` exists but is inaccessible [INFO] [stdout] --> src/wglib/request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^ not accessible [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] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn handle_request(request: Request, send: Fn(FDServer, &str)) -> () { [INFO] [stdout] 17 + fn handle_request(request: Request, send: dyn Fn(FDServer, &str)) -> () { [INFO] [stdout] | [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] 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - where F: Fn(Request, Fn(WGServer, &str)) -> (); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - where F: Fn(Request, Fn(WGServer, &str)) -> (); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub fn poll(&mut self, closure: F) -> () where F: Fn(Request, Fn(&str)) -> () { [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: aborting due to 15 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0423, E0425, E0432, E0449, E0463, E0554, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgrep` due to 16 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a661bb2075a314ab192ca39932af445a75fa63ce3d4e83aa7046da716dbdd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a661bb2075a314ab192ca39932af445a75fa63ce3d4e83aa7046da716dbdd1e", kill_on_drop: false }` [INFO] [stdout] 4a661bb2075a314ab192ca39932af445a75fa63ce3d4e83aa7046da716dbdd1e