[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdmichaud/wgrep2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v0.9.12 [INFO] [stderr] Downloaded syn v0.11.9 [INFO] [stderr] Downloaded serde_json v0.9.9 [INFO] [stderr] Downloaded serde v0.9.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33fe2565626afdb5f4ac24b95d6a48268db30446bb8f31b71a8a4eff0eacc08d [INFO] running `Command { std: "docker" "start" "-a" "33fe2565626afdb5f4ac24b95d6a48268db30446bb8f31b71a8a4eff0eacc08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33fe2565626afdb5f4ac24b95d6a48268db30446bb8f31b71a8a4eff0eacc08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33fe2565626afdb5f4ac24b95d6a48268db30446bb8f31b71a8a4eff0eacc08d", kill_on_drop: false }` [INFO] [stdout] 33fe2565626afdb5f4ac24b95d6a48268db30446bb8f31b71a8a4eff0eacc08d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cbfa2bede969847ff53663b3e2edc1ab3095554ddc214ae23469630573f80d2 [INFO] running `Command { std: "docker" "start" "-a" "8cbfa2bede969847ff53663b3e2edc1ab3095554ddc214ae23469630573f80d2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking serde v0.9.11 [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: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: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] | ^^^ help: remove the qualifier [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] | ^^^ help: remove the qualifier [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] | ^^^ help: remove the qualifier [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] | ^^^ help: remove the qualifier [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[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: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[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[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] 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] error[E0053]: method `send` has an incompatible type for trait [INFO] [stdout] --> src/wglib/server.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send(&mut self, value: Value) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `FDServer`, found `&mut FDServer` [INFO] [stdout] | help: change the self-receiver type to match the trait: `self` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/wglib/server.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | fn send(self, value: Value) -> (); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected signature `fn(FDServer, Value)` [INFO] [stdout] found signature `fn(&mut FDServer, Value)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `send` has an incompatible type for trait [INFO] [stdout] --> src/wglib/server.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send(&mut self, value: Value) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `FDServer`, found `&mut FDServer` [INFO] [stdout] | help: change the self-receiver type to match the trait: `self` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/wglib/server.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | fn send(self, value: Value) -> (); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected signature `fn(FDServer, Value)` [INFO] [stdout] found signature `fn(&mut FDServer, Value)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `WGServer` cannot be made into an object [INFO] [stdout] --> src/wglib/server.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `WGServer` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/wglib/server.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait WGServer { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 7 | fn poll(&mut self, closure: F) -> () [INFO] [stdout] | ^^^^ ...because method `poll` has generic type parameters [INFO] [stdout] = help: consider moving `poll` to another trait [INFO] [stdout] = help: only type `wglib::server::FDServer` implements the trait, consider using it directly instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `WGServer` cannot be made into an object [INFO] [stdout] --> src/wglib/server.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `WGServer` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/wglib/server.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait WGServer { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 7 | fn poll(&mut self, closure: F) -> () [INFO] [stdout] | ^^^^ ...because method `poll` has generic type parameters [INFO] [stdout] = help: consider moving `poll` to another trait [INFO] [stdout] = help: only type `wglib::server::FDServer` implements the trait, consider using it directly instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn WGServer + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/wglib/server.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn WGServer + 'static)` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn WGServer + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/wglib/server.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | where F: Fn(Request, Fn(WGServer, &str)) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn WGServer + 'static)` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [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 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0053, E0106, E0277, E0412, E0423, E0425, E0432, E0449... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [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 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0053, E0106, E0277, E0412, E0423, E0425, E0432, E0449... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgrep` (bin "wgrep") due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wgrep` (bin "wgrep" test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "8cbfa2bede969847ff53663b3e2edc1ab3095554ddc214ae23469630573f80d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbfa2bede969847ff53663b3e2edc1ab3095554ddc214ae23469630573f80d2", kill_on_drop: false }` [INFO] [stdout] 8cbfa2bede969847ff53663b3e2edc1ab3095554ddc214ae23469630573f80d2 [INFO] checking jdmichaud/wgrep2 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmichaud%2Fwgrep2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdmichaud/wgrep2 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-4-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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cfa09e813ba26cffd0d8d0642979b95f02cd34dc9d3f76873213e4a5caa5e94 [INFO] running `Command { std: "docker" "start" "-a" "2cfa09e813ba26cffd0d8d0642979b95f02cd34dc9d3f76873213e4a5caa5e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cfa09e813ba26cffd0d8d0642979b95f02cd34dc9d3f76873213e4a5caa5e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfa09e813ba26cffd0d8d0642979b95f02cd34dc9d3f76873213e4a5caa5e94", kill_on_drop: false }` [INFO] [stdout] 2cfa09e813ba26cffd0d8d0642979b95f02cd34dc9d3f76873213e4a5caa5e94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0191a01a45886bf269dc096f578596586d5199c5d2e97fb555c376a9f295760 [INFO] running `Command { std: "docker" "start" "-a" "f0191a01a45886bf269dc096f578596586d5199c5d2e97fb555c376a9f295760", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "f0191a01a45886bf269dc096f578596586d5199c5d2e97fb555c376a9f295760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0191a01a45886bf269dc096f578596586d5199c5d2e97fb555c376a9f295760", kill_on_drop: false }` [INFO] [stdout] f0191a01a45886bf269dc096f578596586d5199c5d2e97fb555c376a9f295760