[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] 0efeb96501b7260a6c697bbabe2d3f220406ffde [INFO] testing amuricys/sars against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amuricys/sars on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-1/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7393703b03871e55ad8623e04c5ef5df8239fac0c631f77a3e2621464f478ccb [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" "7393703b03871e55ad8623e04c5ef5df8239fac0c631f77a3e2621464f478ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7393703b03871e55ad8623e04c5ef5df8239fac0c631f77a3e2621464f478ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7393703b03871e55ad8623e04c5ef5df8239fac0c631f77a3e2621464f478ccb", kill_on_drop: false }` [INFO] [stdout] 7393703b03871e55ad8623e04c5ef5df8239fac0c631f77a3e2621464f478ccb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 921f207b7bc2f6bad70b30e2c6a5af61e9a25d7213cc755da707a2c33dcb8492 [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" "921f207b7bc2f6bad70b30e2c6a5af61e9a25d7213cc755da707a2c33dcb8492", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling bytemuck v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-window v0.46.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.51.0 [INFO] [stderr] Compiling piston v0.51.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.65.0 [INFO] [stderr] Compiling sars v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `smooth_change_out` [INFO] [stdout] --> src/simulated_annealing.rs:2:66 [INFO] [stdout] | [INFO] [stdout] 2 | use graph_change::{apply_changes, revert_changes, random_change, smooth_change_out, smooth_change_out2, changes_from_other_graph}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeChange` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use types::{NodeChange, OUTER, INNER}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing::step` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use simulated_annealing::step; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compression_factor` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let compression_factor = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_area` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let initial_area = graph::area(&my_graph.layers[OUTER]) - graph::area(&my_graph.layers[INNER]); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/simulated_annealing.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | fn energy(ts: &ThickSurface, initial_gray_matter_area: f64) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_gray_matter_area` [INFO] [stdout] --> src/simulated_annealing.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn energy(ts: &ThickSurface, initial_gray_matter_area: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_gray_matter_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ts.layers` as mutable more than once at a time [INFO] [stdout] --> src/renderer.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | graphs: Vec::from([&mut ts.layers[OUTER], &mut ts.layers[INNER]]), [INFO] [stdout] | -----------------------------^^^^^^^^^-------- [INFO] [stdout] | | | | [INFO] [stdout] | | | second mutable borrow occurs here [INFO] [stdout] | | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*ts` as mutable more than once at a time [INFO] [stdout] --> src/renderer.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 74 | graphs: Vec::from([&mut ts.layers[OUTER], &mut ts.layers[INNER]]), [INFO] [stdout] | --------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 84 | app.render(&args); [INFO] [stdout] | --- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 90 | simulated_annealing::step(ts, 0.1, 1.0, 10, rng); [INFO] [stdout] | ^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sars`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "921f207b7bc2f6bad70b30e2c6a5af61e9a25d7213cc755da707a2c33dcb8492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921f207b7bc2f6bad70b30e2c6a5af61e9a25d7213cc755da707a2c33dcb8492", kill_on_drop: false }` [INFO] [stdout] 921f207b7bc2f6bad70b30e2c6a5af61e9a25d7213cc755da707a2c33dcb8492