[INFO] cloning repository https://github.com/jharrilim/rustler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jharrilim/rustler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 906dba56401c076217b5a994652cb4aa0e6a616e [INFO] checking jharrilim/rustler against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jharrilim/rustler on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jharrilim/rustler [INFO] finished tweaking git repo https://github.com/jharrilim/rustler [INFO] tweaked toml for git repo https://github.com/jharrilim/rustler written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/jharrilim/rustler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b11f656cac06484e9fadda998399295b387a9bf21cbe070802daa847a193a4f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b11f656cac06484e9fadda998399295b387a9bf21cbe070802daa847a193a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b11f656cac06484e9fadda998399295b387a9bf21cbe070802daa847a193a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b11f656cac06484e9fadda998399295b387a9bf21cbe070802daa847a193a4f", kill_on_drop: false }` [INFO] [stdout] 6b11f656cac06484e9fadda998399295b387a9bf21cbe070802daa847a193a4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51c78c33ad7b7e0d2276df91e3a8fb381977a3febadd039ddee54c1a6be5dc70 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51c78c33ad7b7e0d2276df91e3a8fb381977a3febadd039ddee54c1a6be5dc70", kill_on_drop: false }` [INFO] [stderr] Checking rustler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IpAddr`, `TcpStream` [INFO] [stdout] --> src/http/request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | TcpStream, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/http/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GET` in module `methods` [INFO] [stdout] --> src/http/request.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let m = methods::GET; [INFO] [stdout] | ^^^ not found in `methods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 46 | use crate::http::client::Method::GET; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `TcpStream` [INFO] [stdout] --> src/http/request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | TcpStream, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/http/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | msg = msg.add(format!("{}:{}\r\n", k, v).as_str()) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::ops::Add;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | msg = msg.add(self.body.as_str()); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::ops::Add;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | msg = msg.add(format!("{}:{}\r\n", k, v).as_str()) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::ops::Add;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | msg = msg.add(self.body.as_str()); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::ops::Add;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustler` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "51c78c33ad7b7e0d2276df91e3a8fb381977a3febadd039ddee54c1a6be5dc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c78c33ad7b7e0d2276df91e3a8fb381977a3febadd039ddee54c1a6be5dc70", kill_on_drop: false }` [INFO] [stdout] 51c78c33ad7b7e0d2276df91e3a8fb381977a3febadd039ddee54c1a6be5dc70