[INFO] updating cached repository https://github.com/ubnt-intrepid/rusty-machine-toy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 406ff3a6d92c1d8686ac689d2724ebaf1c359d4f [INFO] checking ubnt-intrepid/rusty-machine-toy against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubnt-intrepid%2Frusty-machine-toy" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ubnt-intrepid/rusty-machine-toy on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ubnt-intrepid/rusty-machine-toy [INFO] finished tweaking git repo https://github.com/ubnt-intrepid/rusty-machine-toy [INFO] tweaked toml for git repo https://github.com/ubnt-intrepid/rusty-machine-toy written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ubnt-intrepid/rusty-machine-toy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9bb277c526c986c9c19782fa5e1e2d24b42aef45b94196658f5cb6c500201fb [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" "b9bb277c526c986c9c19782fa5e1e2d24b42aef45b94196658f5cb6c500201fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9bb277c526c986c9c19782fa5e1e2d24b42aef45b94196658f5cb6c500201fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bb277c526c986c9c19782fa5e1e2d24b42aef45b94196658f5cb6c500201fb", kill_on_drop: false }` [INFO] [stdout] b9bb277c526c986c9c19782fa5e1e2d24b42aef45b94196658f5cb6c500201fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301c0668ed9d531ba676607e025ac2591244cc1ea2a5371371a01d21038c329e [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" "301c0668ed9d531ba676607e025ac2591244cc1ea2a5371371a01d21038c329e", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Checking either v1.0.2 [INFO] [stderr] Checking rustplotlib v0.0.4 (https://github.com/ubnt-intrepid/rustplotlib.git#273305c3) [INFO] [stderr] Checking csv v0.14.7 [INFO] [stderr] Checking itertools v0.5.8 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking rulinalg v0.3.7 [INFO] [stderr] Checking rusty-machine v0.5.3 [INFO] [stderr] Checking rusty-machine-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/bin/logistic.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use rm::linalg::{Vector, Matrix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/bin/logistic.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use rm::linalg::{Vector, Matrix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../model/perceptron.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | for (mut w, x) in izip!(&mut self.w[..], &xi[..]) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `probs` [INFO] [stdout] --> src/bin/logistic.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let probs = gmm.predict(&inputs).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_probs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `probs` [INFO] [stdout] --> src/bin/logistic.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let probs = gmm.predict(&inputs).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_probs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../model/perceptron.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | for (mut w, x) in izip!(&mut self.w[..], &xi[..]) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.57s [INFO] running `Command { std: "docker" "inspect" "301c0668ed9d531ba676607e025ac2591244cc1ea2a5371371a01d21038c329e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301c0668ed9d531ba676607e025ac2591244cc1ea2a5371371a01d21038c329e", kill_on_drop: false }` [INFO] [stdout] 301c0668ed9d531ba676607e025ac2591244cc1ea2a5371371a01d21038c329e