[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#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatsushi130%2Fperceptron" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atsushi130/perceptron on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a5682191c2272c7e092a816a5fb6e7fa95c78b72f9a0e932aa00b67710e7a96 [INFO] running `Command { std: "docker" "start" "-a" "7a5682191c2272c7e092a816a5fb6e7fa95c78b72f9a0e932aa00b67710e7a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a5682191c2272c7e092a816a5fb6e7fa95c78b72f9a0e932aa00b67710e7a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5682191c2272c7e092a816a5fb6e7fa95c78b72f9a0e932aa00b67710e7a96", kill_on_drop: false }` [INFO] [stdout] 7a5682191c2272c7e092a816a5fb6e7fa95c78b72f9a0e932aa00b67710e7a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e8563724dac5a79c76db5f479df78de1f39facba144f865541ac7b8292c9550 [INFO] running `Command { std: "docker" "start" "-a" "2e8563724dac5a79c76db5f479df78de1f39facba144f865541ac7b8292c9550", 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: 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 `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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e8563724dac5a79c76db5f479df78de1f39facba144f865541ac7b8292c9550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8563724dac5a79c76db5f479df78de1f39facba144f865541ac7b8292c9550", kill_on_drop: false }` [INFO] [stdout] 2e8563724dac5a79c76db5f479df78de1f39facba144f865541ac7b8292c9550