[INFO] cloning repository https://github.com/thebracket/rust_brain_teasers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thebracket/rust_brain_teasers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frust_brain_teasers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frust_brain_teasers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0398ab8977b5a701dfbe9ca13967dcf388541d18 [INFO] checking thebracket/rust_brain_teasers against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebracket%2Frust_brain_teasers" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thebracket/rust_brain_teasers on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thebracket/rust_brain_teasers [INFO] finished tweaking git repo https://github.com/thebracket/rust_brain_teasers [INFO] tweaked toml for git repo https://github.com/thebracket/rust_brain_teasers written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thebracket/rust_brain_teasers already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5833126a06a3dd3e3d907a9bac3439507df9b347fd10f227fc115e41dd93de12 [INFO] running `Command { std: "docker" "start" "-a" "5833126a06a3dd3e3d907a9bac3439507df9b347fd10f227fc115e41dd93de12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5833126a06a3dd3e3d907a9bac3439507df9b347fd10f227fc115e41dd93de12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5833126a06a3dd3e3d907a9bac3439507df9b347fd10f227fc115e41dd93de12", kill_on_drop: false }` [INFO] [stdout] 5833126a06a3dd3e3d907a9bac3439507df9b347fd10f227fc115e41dd93de12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5355bd9f83eaef5b6d684a7c9850c7b5e0ec40d938839f58503438f3756fd6ad [INFO] running `Command { std: "docker" "start" "-a" "5355bd9f83eaef5b6d684a7c9850c7b5e0ec40d938839f58503438f3756fd6ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking byte_sized_wrap v0.1.0 (/opt/rustwide/workdir/byte_sized_wrap) [INFO] [stderr] Checking three_and_a_bit v0.1.0 (/opt/rustwide/workdir/three_and_a_bit) [INFO] [stderr] Checking async_threaded v0.1.0 (/opt/rustwide/workdir/async_threaded) [INFO] [stderr] Compiling tokio v1.7.0 [INFO] [stderr] Checking const_loop_works v0.1.0 (/opt/rustwide/workdir/const_loop_works) [INFO] [stderr] Checking x_marks_spot v0.1.0 (/opt/rustwide/workdir/x_marks_spot) [INFO] [stderr] Checking hello_bonjour_const v0.1.0 (/opt/rustwide/workdir/hello_bonjour_const) [INFO] [stderr] Checking linked_list v0.1.0 (/opt/rustwide/workdir/linked_list) [INFO] [stderr] Checking quack v0.1.0 (/opt/rustwide/workdir/quack) [INFO] [stderr] Checking there_and_back v0.1.0 (/opt/rustwide/workdir/there_and_back) [INFO] [stderr] Checking amnesia v0.1.0 (/opt/rustwide/workdir/amnesia) [INFO] [stderr] Checking const_loop v0.1.0 (/opt/rustwide/workdir/const_loop) [INFO] [stdout] error[E0658]: `for` is not allowed in a `const fn` [INFO] [stdout] --> const_loop/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / for _ in 2..n { [INFO] [stdout] 5 | | let tmp = a + b; [INFO] [stdout] 6 | | a = b; [INFO] [stdout] 7 | | b = tmp; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking boxes v0.1.0 (/opt/rustwide/workdir/boxes) [INFO] [stderr] Checking hello_bonjour v0.1.0 (/opt/rustwide/workdir/hello_bonjour) [INFO] [stderr] Checking type_conversion v0.1.0 (/opt/rustwide/workdir/type_conversion) [INFO] [stderr] Checking hello_bonjour_static v0.1.0 (/opt/rustwide/workdir/hello_bonjour_static) [INFO] [stderr] Checking reboot_universe v0.1.0 (/opt/rustwide/workdir/reboot_universe) [INFO] [stderr] Checking reverse_polarity v0.1.0 (/opt/rustwide/workdir/reverse_polarity) [INFO] [stdout] error[E0015]: cannot convert `std::ops::Range` into an iterator in constant functions [INFO] [stdout] --> const_loop/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | for _ in 2..n { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/collect.rs:316:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> const_loop/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | for _ in 2..n { [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] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn ` as Iterator>::next` in constant functions [INFO] [stdout] --> const_loop/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | for _ in 2..n { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] Checking vec_size v0.1.0 (/opt/rustwide/workdir/vec_size) [INFO] [stderr] error: could not compile `const_loop` (bin "const_loop" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `hello` in this scope [INFO] [stdout] --> hello_bonjour_static/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | hello(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_bonjour_static` (bin "hello_bonjour_static" test) due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find function `hello` in this scope [INFO] [stdout] --> hello_bonjour_static/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | hello(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_bonjour_static` (bin "hello_bonjour_static") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5355bd9f83eaef5b6d684a7c9850c7b5e0ec40d938839f58503438f3756fd6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5355bd9f83eaef5b6d684a7c9850c7b5e0ec40d938839f58503438f3756fd6ad", kill_on_drop: false }` [INFO] [stdout] 5355bd9f83eaef5b6d684a7c9850c7b5e0ec40d938839f58503438f3756fd6ad