[INFO] cloning repository https://github.com/chrisdickinson/compilers-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisdickinson/compilers-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisdickinson%2Fcompilers-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisdickinson%2Fcompilers-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ba724cd202317db8224e439ba5f1d75776017f8 [INFO] checking chrisdickinson/compilers-exercises against e7769602aca3770e8d8ea55716becb22e839a579 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisdickinson%2Fcompilers-exercises" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chrisdickinson/compilers-exercises [INFO] finished tweaking git repo https://github.com/chrisdickinson/compilers-exercises [INFO] tweaked toml for git repo https://github.com/chrisdickinson/compilers-exercises written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chrisdickinson/compilers-exercises on toolchain e7769602aca3770e8d8ea55716becb22e839a579 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chrisdickinson/compilers-exercises 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" "+e7769602aca3770e8d8ea55716becb22e839a579" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6 [INFO] running `Command { std: "docker" "start" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling compilers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::sys::syscall3` [INFO] [stdout] --> src/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sys::syscall3; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | no `syscall3` in `sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sys.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 6 | pub(crate) unsafe fn syscall3(syscall_number: u64, arg0: usize, arg1: usize, arg2: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sys::exit` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::sys::exit; [INFO] [stdout] | ^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | no `exit` in `sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sys.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 20 | pub(crate) fn exit(code: i32) -> ! { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/regex.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn ε_closure(_n: &Nfa) -> Dfa { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'ε' (U+03B5) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::io::flush` [INFO] [stdout] --> src/sys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::flush; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_option)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_slice_index` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_slice_index)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `const_slice_len` [INFO] [stdout] | [INFO] [stdout] 4 - #![feature(const_slice_index)] [INFO] [stdout] 4 + #![feature(const_slice_len)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/io.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | } else if N == usize::max_value() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/io.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | } else if N == usize::max_value() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sys::syscall3` [INFO] [stdout] --> src/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sys::syscall3; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | no `syscall3` in `sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sys.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 6 | pub(crate) unsafe fn syscall3(syscall_number: u64, arg0: usize, arg1: usize, arg2: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sys::exit` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::sys::exit; [INFO] [stdout] | ^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | no `exit` in `sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sys.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 20 | pub(crate) fn exit(code: i32) -> ! { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/regex.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn ε_closure(_n: &Nfa) -> Dfa { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'ε' (U+03B5) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_option)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_slice_index` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_slice_index)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `const_slice_len` [INFO] [stdout] | [INFO] [stdout] 4 - #![feature(const_slice_index)] [INFO] [stdout] 4 + #![feature(const_slice_len)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/io.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | } else if N == usize::max_value() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compilers` (bin "compilers" test) due to 3 previous errors; 6 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0635. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/io.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | } else if N == usize::max_value() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::panic::PanicInfo::<'a>::payload`: this never returns anything useful [INFO] [stdout] --> src/sys.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(s) = panic_info.payload().downcast_ref::<&str>() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exit` in this scope [INFO] [stdout] --> src/sys.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | exit(1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sys.rs:39:50 [INFO] [stdout] | [INFO] [stdout] 39 | fn panic(panic_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ----- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compilers` (bin "compilers") due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6", kill_on_drop: false }` [INFO] [stdout] 0dc48e5e34816e7ea16bc3f6e61ac4c894cb7cc6cce8aec8e2eafc6059f7d1b6