[INFO] cloning repository https://github.com/amuricys/sars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amuricys/sars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35cff7bf6e8b29267883e81ac15cd4e6a527f645 [INFO] checking amuricys/sars against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars" "/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/amuricys/sars on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amuricys/sars [INFO] finished tweaking git repo https://github.com/amuricys/sars [INFO] tweaked toml for git repo https://github.com/amuricys/sars written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/amuricys/sars already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-cmp v0.8.0 [INFO] [stderr] Downloaded pistoncore-window v0.46.0 [INFO] [stderr] Downloaded vec1 v1.6.0 [INFO] [stderr] Downloaded piston v0.51.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.51.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Downloaded bytemuck v1.3.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.65.0 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f87687ac0f62cd2aa54837cd913a53b8814e811c8024f16c905ac38f4a418296 [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" "f87687ac0f62cd2aa54837cd913a53b8814e811c8024f16c905ac38f4a418296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f87687ac0f62cd2aa54837cd913a53b8814e811c8024f16c905ac38f4a418296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87687ac0f62cd2aa54837cd913a53b8814e811c8024f16c905ac38f4a418296", kill_on_drop: false }` [INFO] [stdout] f87687ac0f62cd2aa54837cd913a53b8814e811c8024f16c905ac38f4a418296 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9845f95dac8d259a13c5b1ddcd8041a5c6c27061765936d7df782ac3665e6afc [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" "9845f95dac8d259a13c5b1ddcd8041a5c6c27061765936d7df782ac3665e6afc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking bytemuck v1.3.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking vec1 v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-window v0.46.0 [INFO] [stderr] Checking pistoncore-event_loop v0.51.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.65.0 [INFO] [stderr] Checking piston v0.51.0 [INFO] [stderr] Checking sars v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/simulated_annealing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::modular_index::next` [INFO] [stdout] --> src/graph_change.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphics::modular_index::next; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph_change.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing::debug_changes` [INFO] [stdout] --> src/graph.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use simulated_annealing::debug_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/simulated_annealing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::modular_index::next` [INFO] [stdout] --> src/graph_change.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphics::modular_index::next; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph_change.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/graph_change.rs:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | ... = node_to_add(&circular.layers[OUTER], &circular.layers[OUTER].nodes[10], &circular.layers[OUTER].nodes[10].next(&circular.layers[OUTER]), 0.00000... [INFO] [stdout] | ^^^^^^^^^^^ ----------------------- --------------------------------- --------------------------------------------------------------- -------- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/graph.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn node_to_add(g: &Graph, g_across: &Graph, prev: &Node, next: &Node, addition_threshold: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ --------- ---------------- ----------- ----------- ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/graph_change.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | add_node_(&mut circular, OUTER, node_to_add.unwrap()); [INFO] [stdout] | ^^^^^^^^^ ------------- ----- -------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/graph_change.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn add_node_(ts: &mut ThickSurface, layer_to_which_add: usize, layer_across: usize, node_addition: NodeAddition) { [INFO] [stdout] | ^^^^^^^^^ --------------------- ------------------------- ------------------- --------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sars` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/renderer.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(key) = e.press_args() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/renderer.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(key) = e.press_args() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/renderer.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_points` [INFO] [stdout] --> src/graph.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn debug_straight_surface(num_points: usize) -> ThickSurface { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*ts` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/simulated_annealing.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 73 | let graph_to_which_add = &ts.layers[OUTER]; [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 76 | let shitload_of_fuck = graph::node_to_add(graph_to_which_add, graph_across, n, n.next(&graph_to_which_add), addition_threshold); [INFO] [stdout] | ------------------ immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 79 | add_node_(ts, OUTER, INNER, addition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9845f95dac8d259a13c5b1ddcd8041a5c6c27061765936d7df782ac3665e6afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9845f95dac8d259a13c5b1ddcd8041a5c6c27061765936d7df782ac3665e6afc", kill_on_drop: false }` [INFO] [stdout] 9845f95dac8d259a13c5b1ddcd8041a5c6c27061765936d7df782ac3665e6afc