[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] checking amuricys/sars against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [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 f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston v0.51.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.65.0 [INFO] [stderr] Downloaded bytemuck v1.3.0 [INFO] [stderr] Downloaded pistoncore-window v0.46.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.51.0 [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c0c11eef42c02241c417ea1877f3bd409d95af6ad4f0c6b22da420ae1d446e [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" "d9c0c11eef42c02241c417ea1877f3bd409d95af6ad4f0c6b22da420ae1d446e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c0c11eef42c02241c417ea1877f3bd409d95af6ad4f0c6b22da420ae1d446e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c0c11eef42c02241c417ea1877f3bd409d95af6ad4f0c6b22da420ae1d446e", kill_on_drop: false }` [INFO] [stdout] d9c0c11eef42c02241c417ea1877f3bd409d95af6ad4f0c6b22da420ae1d446e [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] 16b0775ac6409bd6c2ead26e0b59bf2a46d677f82fcfb20208d82c09b094cc2f [INFO] running `Command { std: "docker" "start" "-a" "16b0775ac6409bd6c2ead26e0b59bf2a46d677f82fcfb20208d82c09b094cc2f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking bytemuck v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Checking piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking pistoncore-window v0.46.0 [INFO] [stderr] Checking pistoncore-event_loop v0.51.0 [INFO] [stderr] Checking piston v0.51.0 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.65.0 [INFO] [stderr] Checking 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 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] error[E0609]: no field `outer` on type `types::ThickSurface` [INFO] [stdout] --> src/graph.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | for n in test_circ.outer.nodes { [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `layers`, `edges` [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: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [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] 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: build failed [INFO] running `Command { std: "docker" "inspect" "16b0775ac6409bd6c2ead26e0b59bf2a46d677f82fcfb20208d82c09b094cc2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b0775ac6409bd6c2ead26e0b59bf2a46d677f82fcfb20208d82c09b094cc2f", kill_on_drop: false }` [INFO] [stdout] 16b0775ac6409bd6c2ead26e0b59bf2a46d677f82fcfb20208d82c09b094cc2f