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