[INFO] cloning repository https://github.com/Riey/compiletime-sort-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Riey/compiletime-sort-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiey%2Fcompiletime-sort-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiey%2Fcompiletime-sort-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffb85b6be4b853eb2a50be789da4b5849b2f2f38 [INFO] checking Riey/compiletime-sort-rs against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiey%2Fcompiletime-sort-rs" "/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/Riey/compiletime-sort-rs on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config [INFO] started tweaking git repo https://github.com/Riey/compiletime-sort-rs [INFO] finished tweaking git repo https://github.com/Riey/compiletime-sort-rs [INFO] tweaked toml for git repo https://github.com/Riey/compiletime-sort-rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Riey/compiletime-sort-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8e0bf1ebcd939814b8d4d5f90793a3f28af055d7077ca27662c087aaf75dd4d [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" "f8e0bf1ebcd939814b8d4d5f90793a3f28af055d7077ca27662c087aaf75dd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e0bf1ebcd939814b8d4d5f90793a3f28af055d7077ca27662c087aaf75dd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e0bf1ebcd939814b8d4d5f90793a3f28af055d7077ca27662c087aaf75dd4d", kill_on_drop: false }` [INFO] [stdout] f8e0bf1ebcd939814b8d4d5f90793a3f28af055d7077ca27662c087aaf75dd4d [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 010f87ade37540d3b15f616970c80981c688e9210c1df4ac01d19cf95d4f5594 [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" "010f87ade37540d3b15f616970c80981c688e9210c1df4ac01d19cf95d4f5594", kill_on_drop: false }` [INFO] [stderr] Checking compiletime-sort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | const fn sift_down(arr: &mut [usize], mut node: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/main.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | const fn heap_sort(arr: &mut [usize]) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `transmute` is not allowed in constant functions [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | sift_down(transmute((arr.as_ptr(), i)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53605 for more information [INFO] [stdout] = help: add `#![feature(const_fn_transmute)]` to the crate attributes to enable [INFO] [stdout] = note: `transmute` is only allowed in constants and statics for now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/main.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | heap_sort(&mut arr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiletime-sort` [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[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | const fn sift_down(arr: &mut [usize], mut node: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/main.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | const fn heap_sort(arr: &mut [usize]) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `transmute` is not allowed in constant functions [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | sift_down(transmute((arr.as_ptr(), i)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53605 for more information [INFO] [stdout] = help: add `#![feature(const_fn_transmute)]` to the crate attributes to enable [INFO] [stdout] = note: `transmute` is only allowed in constants and statics for now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/main.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | heap_sort(&mut arr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "010f87ade37540d3b15f616970c80981c688e9210c1df4ac01d19cf95d4f5594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010f87ade37540d3b15f616970c80981c688e9210c1df4ac01d19cf95d4f5594", kill_on_drop: false }` [INFO] [stdout] 010f87ade37540d3b15f616970c80981c688e9210c1df4ac01d19cf95d4f5594