[INFO] cloning repository https://github.com/atsushi130/perceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atsushi130/perceptron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatsushi130%2Fperceptron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatsushi130%2Fperceptron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faa5fe3c75986bcab83ca02d6551b0a4ddca9c3c [INFO] checking atsushi130/perceptron against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatsushi130%2Fperceptron" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atsushi130/perceptron on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atsushi130/perceptron [INFO] finished tweaking git repo https://github.com/atsushi130/perceptron [INFO] tweaked toml for git repo https://github.com/atsushi130/perceptron written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/atsushi130/perceptron already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a585c9ea1f6d58686848b7f213a323e6e18ad2b90710639ab7d9c730c429b7b7 [INFO] running `Command { std: "docker" "start" "-a" "a585c9ea1f6d58686848b7f213a323e6e18ad2b90710639ab7d9c730c429b7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a585c9ea1f6d58686848b7f213a323e6e18ad2b90710639ab7d9c730c429b7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a585c9ea1f6d58686848b7f213a323e6e18ad2b90710639ab7d9c730c429b7b7", kill_on_drop: false }` [INFO] [stdout] a585c9ea1f6d58686848b7f213a323e6e18ad2b90710639ab7d9c730c429b7b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32bfe815dc48ba36c778b55ad45cf3918273f8f395686ff3c8cc4d813b4207e1 [INFO] running `Command { std: "docker" "start" "-a" "32bfe815dc48ba36c778b55ad45cf3918273f8f395686ff3c8cc4d813b4207e1", kill_on_drop: false }` [INFO] [stderr] Checking perceptron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/file_operator/parser/parser.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse(&self, &str) -> (i8, HashMap); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/learner/perceptron/perceptron.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | self.sign((x as f64)) [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_operator/file_operator.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | Err(error) => panic!("Couldn't open {}: {}", &self.path, Error::description(&error)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_operator/file_operator.rs:52:78 [INFO] [stdout] | [INFO] [stdout] 52 | Err(error) => panic!("Not found line result. Reason: {}", Error::description(&error)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/file_operator/parser/tsv_parser.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | let splits: Vec<_> = string.trim_right().split('\t').collect(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/file_operator/parser/parser.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse(&self, &str) -> (i8, HashMap); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/learner/perceptron/perceptron.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | self.sign((x as f64)) [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_operator/file_operator.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | Err(error) => panic!("Couldn't open {}: {}", &self.path, Error::description(&error)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_operator/file_operator.rs:52:78 [INFO] [stdout] | [INFO] [stdout] 52 | Err(error) => panic!("Not found line result. Reason: {}", Error::description(&error)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/file_operator/parser/tsv_parser.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | let splits: Vec<_> = string.trim_right().split('\t').collect(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "32bfe815dc48ba36c778b55ad45cf3918273f8f395686ff3c8cc4d813b4207e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32bfe815dc48ba36c778b55ad45cf3918273f8f395686ff3c8cc4d813b4207e1", kill_on_drop: false }` [INFO] [stdout] 32bfe815dc48ba36c778b55ad45cf3918273f8f395686ff3c8cc4d813b4207e1