[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] testing atsushi130/perceptron against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatsushi130%2Fperceptron" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atsushi130/perceptron on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2fd3bad8b1e7676f4b69f6211937b82a767144c74b08ca1d16cc6217a1db3b7 [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" "d2fd3bad8b1e7676f4b69f6211937b82a767144c74b08ca1d16cc6217a1db3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2fd3bad8b1e7676f4b69f6211937b82a767144c74b08ca1d16cc6217a1db3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2fd3bad8b1e7676f4b69f6211937b82a767144c74b08ca1d16cc6217a1db3b7", kill_on_drop: false }` [INFO] [stdout] d2fd3bad8b1e7676f4b69f6211937b82a767144c74b08ca1d16cc6217a1db3b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd5e295fc6e453673ce242e0a84a33ea4b6c728f543d6b5f53c4c8befeb9b0cc [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" "cd5e295fc6e453673ce242e0a84a33ea4b6c728f543d6b5f53c4c8befeb9b0cc", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - self.sign((x as f64)) [INFO] [stdout] 64 + self.sign(x as f64) [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "cd5e295fc6e453673ce242e0a84a33ea4b6c728f543d6b5f53c4c8befeb9b0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5e295fc6e453673ce242e0a84a33ea4b6c728f543d6b5f53c4c8befeb9b0cc", kill_on_drop: false }` [INFO] [stdout] cd5e295fc6e453673ce242e0a84a33ea4b6c728f543d6b5f53c4c8befeb9b0cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78fcb2cbc3be6e0ffe8c5f95f56cf2227cb051d55808657533debd5bda372f9a [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" "78fcb2cbc3be6e0ffe8c5f95f56cf2227cb051d55808657533debd5bda372f9a", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - self.sign((x as f64)) [INFO] [stdout] 64 + self.sign(x as f64) [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/perceptron-759664df348723d2) [INFO] running `Command { std: "docker" "inspect" "78fcb2cbc3be6e0ffe8c5f95f56cf2227cb051d55808657533debd5bda372f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fcb2cbc3be6e0ffe8c5f95f56cf2227cb051d55808657533debd5bda372f9a", kill_on_drop: false }` [INFO] [stdout] 78fcb2cbc3be6e0ffe8c5f95f56cf2227cb051d55808657533debd5bda372f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95e5a9e8cf3abc2d592bc041c9947ab06138289c2da39004fc8973adf36b22b2 [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" "95e5a9e8cf3abc2d592bc041c9947ab06138289c2da39004fc8973adf36b22b2", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/file_operator/parser/parser.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fn parse(&self, &str) -> (i8, HashMap); [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/learner/perceptron/perceptron.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | self.sign((x as f64)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 64 - self.sign((x as f64)) [INFO] [stderr] 64 + self.sign(x as f64) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_operator/file_operator.rs:45:77 [INFO] [stderr] | [INFO] [stderr] 45 | Err(error) => panic!("Couldn't open {}: {}", &self.path, Error::description(&error)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_operator/file_operator.rs:52:78 [INFO] [stderr] | [INFO] [stderr] 52 | Err(error) => panic!("Not found line result. Reason: {}", Error::description(&error)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/file_operator/parser/tsv_parser.rs:11:37 [INFO] [stderr] | [INFO] [stderr] 11 | let splits: Vec<_> = string.trim_right().split('\t').collect(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: `perceptron` (bin "perceptron" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/perceptron-759664df348723d2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "95e5a9e8cf3abc2d592bc041c9947ab06138289c2da39004fc8973adf36b22b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e5a9e8cf3abc2d592bc041c9947ab06138289c2da39004fc8973adf36b22b2", kill_on_drop: false }` [INFO] [stdout] 95e5a9e8cf3abc2d592bc041c9947ab06138289c2da39004fc8973adf36b22b2