[INFO] updating cached repository jharrilim/rustler [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jharrilim/rustler [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jharrilim/rustler" "work/ex/clippy-test-run/sources/stable/gh/jharrilim/rustler"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/jharrilim/rustler'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jharrilim/rustler" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jharrilim/rustler"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jharrilim/rustler'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 906dba56401c076217b5a994652cb4aa0e6a616e [INFO] sha for GitHub repo jharrilim/rustler: 906dba56401c076217b5a994652cb4aa0e6a616e [INFO] validating manifest of jharrilim/rustler on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jharrilim/rustler on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jharrilim/rustler [INFO] finished frobbing jharrilim/rustler [INFO] frobbed toml for jharrilim/rustler written to work/ex/clippy-test-run/sources/stable/gh/jharrilim/rustler/Cargo.toml [INFO] started frobbing jharrilim/rustler [INFO] finished frobbing jharrilim/rustler [INFO] frobbed toml for jharrilim/rustler written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jharrilim/rustler/Cargo.toml [INFO] crate jharrilim/rustler has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting jharrilim/rustler against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jharrilim/rustler:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dclippy::into_iter_on_array" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 70e514cab8d6a7d0d78b7e23020cff7703f48e9c6be15b1ccc273c25e2a11411 [INFO] running `"docker" "start" "-a" "70e514cab8d6a7d0d78b7e23020cff7703f48e9c6be15b1ccc273c25e2a11411"` [INFO] [stderr] Checking rustler v0.1.0 (/opt/crater/workdir) [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[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] 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] error[E0599]: no method named `add` found for type `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] | ^^^ [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 type `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] | ^^^ [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 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `rustler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `add` found for type `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] | ^^^ [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 type `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] | ^^^ [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 [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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] running `"docker" "inspect" "70e514cab8d6a7d0d78b7e23020cff7703f48e9c6be15b1ccc273c25e2a11411"` [INFO] running `"docker" "rm" "-f" "70e514cab8d6a7d0d78b7e23020cff7703f48e9c6be15b1ccc273c25e2a11411"` [INFO] [stdout] 70e514cab8d6a7d0d78b7e23020cff7703f48e9c6be15b1ccc273c25e2a11411