[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#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlowry%2Frust-ai-samples" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlowry/rust-ai-samples on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-13/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded special v0.8.1 [INFO] [stderr] Downloaded dataplotlib v0.1.3 [INFO] [stderr] Downloaded probability v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bbf121a021f6a29846d83b3494cdedee8c428af1c80c5031680c94b9c3f83fa [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" "5bbf121a021f6a29846d83b3494cdedee8c428af1c80c5031680c94b9c3f83fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bbf121a021f6a29846d83b3494cdedee8c428af1c80c5031680c94b9c3f83fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbf121a021f6a29846d83b3494cdedee8c428af1c80c5031680c94b9c3f83fa", kill_on_drop: false }` [INFO] [stdout] 5bbf121a021f6a29846d83b3494cdedee8c428af1c80c5031680c94b9c3f83fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bcb70690723cf9229b5b702d3542d9d677611a0d005947ba1fe3e799dad5a3f [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" "6bcb70690723cf9229b5b702d3542d9d677611a0d005947ba1fe3e799dad5a3f", kill_on_drop: false }` [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking read_color v0.1.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking random v0.12.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking special v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking miniz-sys v0.1.12 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking pistoncore-input v0.14.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking probability v0.16.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking piston2d-graphics v0.17.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking pistoncore-window v0.22.1 [INFO] [stderr] Checking pistoncore-event_loop v0.25.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking piston v0.25.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking gfx v0.12.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.10.4 [INFO] [stderr] Checking piston-gfx_texture v0.17.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.31.2 [INFO] [stderr] Checking gfx_device_gl v0.11.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-kbd v0.3.6 [INFO] [stderr] Checking wayland-window v0.2.3 [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 1m 00s [INFO] running `Command { std: "docker" "inspect" "6bcb70690723cf9229b5b702d3542d9d677611a0d005947ba1fe3e799dad5a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bcb70690723cf9229b5b702d3542d9d677611a0d005947ba1fe3e799dad5a3f", kill_on_drop: false }` [INFO] [stdout] 6bcb70690723cf9229b5b702d3542d9d677611a0d005947ba1fe3e799dad5a3f