[INFO] cloning repository https://github.com/tlowry/rust-ai-samples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlowry/rust-ai-samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlowry%2Frust-ai-samples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlowry%2Frust-ai-samples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20758bf1e0643c6ebe1d764c7f27eebb8f7d0ef4 [INFO] checking tlowry/rust-ai-samples against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlowry%2Frust-ai-samples" "/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/tlowry/rust-ai-samples on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlowry/rust-ai-samples [INFO] finished tweaking git repo https://github.com/tlowry/rust-ai-samples [INFO] tweaked toml for git repo https://github.com/tlowry/rust-ai-samples written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/tlowry/rust-ai-samples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray v0.12.1 [INFO] [stderr] Downloaded random v0.12.2 [INFO] [stderr] Downloaded special v0.8.1 [INFO] [stderr] Downloaded gfx v0.12.2 [INFO] [stderr] Downloaded probability v0.16.0 [INFO] [stderr] Downloaded dataplotlib v0.1.3 [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b685288a1e2115e929699b70c478d5fa2695e4a9bdd42ccba5788839738f8fdd [INFO] running `Command { std: "docker" "start" "-a" "b685288a1e2115e929699b70c478d5fa2695e4a9bdd42ccba5788839738f8fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b685288a1e2115e929699b70c478d5fa2695e4a9bdd42ccba5788839738f8fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b685288a1e2115e929699b70c478d5fa2695e4a9bdd42ccba5788839738f8fdd", kill_on_drop: false }` [INFO] [stdout] b685288a1e2115e929699b70c478d5fa2695e4a9bdd42ccba5788839738f8fdd [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3dc416762d2b5d3c5663e9134ff6af25a7a9456482c1c2ca6f36b527170a7bf4 [INFO] running `Command { std: "docker" "start" "-a" "3dc416762d2b5d3c5663e9134ff6af25a7a9456482c1c2ca6f36b527170a7bf4", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking random v0.12.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking pistoncore-input v0.14.0 [INFO] [stderr] Checking piston2d-graphics v0.17.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking special v0.8.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking miniz-sys v0.1.12 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking probability v0.16.0 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking pistoncore-window v0.22.1 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking pistoncore-event_loop v0.25.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking piston v0.25.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking gfx v0.12.2 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.10.4 [INFO] [stderr] Checking gfx_device_gl v0.11.2 [INFO] [stderr] Checking piston-gfx_texture v0.17.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.31.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking pistoncore-glutin_window v0.29.0 [INFO] [stderr] Checking piston_window v0.52.0 [INFO] [stderr] Checking dataplotlib v0.1.3 [INFO] [stderr] Checking rust-ai-samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `probability::distribution::Gaussian` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use probability::distribution::Gaussian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn draw(x: &Vec, f: &Fn(f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `probability::distribution::Gaussian` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use probability::distribution::Gaussian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn draw(x: &Vec, f: &Fn(f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tanh` [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn tanh(input: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tanh` [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn tanh(input: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.75s [INFO] running `Command { std: "docker" "inspect" "3dc416762d2b5d3c5663e9134ff6af25a7a9456482c1c2ca6f36b527170a7bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc416762d2b5d3c5663e9134ff6af25a7a9456482c1c2ca6f36b527170a7bf4", kill_on_drop: false }` [INFO] [stdout] 3dc416762d2b5d3c5663e9134ff6af25a7a9456482c1c2ca6f36b527170a7bf4