[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 try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatsushi130%2Fperceptron" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atsushi130/perceptron on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e1aaed59601c78da127019a52151de6877d8a50f8e5cf66aff6e9c403cda93c [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" "9e1aaed59601c78da127019a52151de6877d8a50f8e5cf66aff6e9c403cda93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e1aaed59601c78da127019a52151de6877d8a50f8e5cf66aff6e9c403cda93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1aaed59601c78da127019a52151de6877d8a50f8e5cf66aff6e9c403cda93c", kill_on_drop: false }` [INFO] [stdout] 9e1aaed59601c78da127019a52151de6877d8a50f8e5cf66aff6e9c403cda93c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6804760c88f0efaa37f02e35a53ac70fa7466c01832a80fa86fdcbb4d004254 [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" "a6804760c88f0efaa37f02e35a53ac70fa7466c01832a80fa86fdcbb4d004254", kill_on_drop: false }` [INFO] [stderr] Checking perceptron v0.1.0 (/opt/rustwide/workdir) [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:70 [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:71 [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: 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:70 [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:71 [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "a6804760c88f0efaa37f02e35a53ac70fa7466c01832a80fa86fdcbb4d004254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6804760c88f0efaa37f02e35a53ac70fa7466c01832a80fa86fdcbb4d004254", kill_on_drop: false }` [INFO] [stdout] a6804760c88f0efaa37f02e35a53ac70fa7466c01832a80fa86fdcbb4d004254