[INFO] fetching crate y-lang 0.1.3... [INFO] testing y-lang-0.1.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate y-lang 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate y-lang 0.1.3 [INFO] finished tweaking crates.io crate y-lang 0.1.3 [INFO] tweaked toml for crates.io crate y-lang 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate y-lang 0.1.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate y-lang 0.1.3 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unescape v0.1.0 [INFO] [stderr] Downloaded pest_generator v2.6.0 [INFO] [stderr] Downloaded simple_logger v4.1.0 [INFO] [stderr] Downloaded clap_lex v0.4.0 [INFO] [stderr] Downloaded pest_meta v2.6.0 [INFO] [stderr] Downloaded errno v0.3.0 [INFO] [stderr] Downloaded pest_derive v2.6.0 [INFO] [stderr] Downloaded cpufeatures v0.2.5 [INFO] [stderr] Downloaded is-terminal v0.4.6 [INFO] [stderr] Downloaded block-buffer v0.10.3 [INFO] [stderr] Downloaded anstyle-wincon v1.0.0 [INFO] [stderr] Downloaded anstream v0.3.0 [INFO] [stderr] Downloaded sha2 v0.10.6 [INFO] [stderr] Downloaded quote v1.0.26 [INFO] [stderr] Downloaded clap_derive v4.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.53 [INFO] [stderr] Downloaded io-lifetimes v1.0.4 [INFO] [stderr] Downloaded clap v4.2.5 [INFO] [stderr] Downloaded ucd-trie v0.1.5 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded pest v2.6.0 [INFO] [stderr] Downloaded clap_builder v4.2.5 [INFO] [stderr] Downloaded syn v2.0.8 [INFO] [stderr] Downloaded rustix v0.37.4 [INFO] [stderr] Downloaded libc v0.2.140 [INFO] [stderr] Downloaded linux-raw-sys v0.3.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a6ff9bad274f3a53ba7fbd2d3fc15dcfcad668258676f70de531ca916a1d517 [INFO] running `Command { std: "docker" "start" "-a" "8a6ff9bad274f3a53ba7fbd2d3fc15dcfcad668258676f70de531ca916a1d517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a6ff9bad274f3a53ba7fbd2d3fc15dcfcad668258676f70de531ca916a1d517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6ff9bad274f3a53ba7fbd2d3fc15dcfcad668258676f70de531ca916a1d517", kill_on_drop: false }` [INFO] [stdout] 8a6ff9bad274f3a53ba7fbd2d3fc15dcfcad668258676f70de531ca916a1d517 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e5feb382e89b7fc24d2d502837b39761509cc19287aa1461636705fe0de48e1 [INFO] running `Command { std: "docker" "start" "-a" "0e5feb382e89b7fc24d2d502837b39761509cc19287aa1461636705fe0de48e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.53 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling rustix v0.37.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling linux-raw-sys v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling clap_lex v0.4.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling unescape v0.1.0 [INFO] [stderr] Compiling syn v2.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling simple_logger v4.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling is-terminal v0.4.6 [INFO] [stderr] Compiling anstream v0.3.0 [INFO] [stderr] Compiling clap_builder v4.2.5 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling clap v4.2.5 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Compiling y-lang v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::parser::*` [INFO] [stdout] --> src/ast/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use self::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/binary_op.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UndefinedOpError(String); [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/prefix_op.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UndefinedPrefixOpError(String); [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedPrefixOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typechecker/variabletype.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct VariableParseError(String); [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/parser.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_program(file: impl ToString, program: &str) -> ParseResult> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_program(file: impl ToString, program: &str) -> ParseResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | if *other_item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | if *item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.34s [INFO] running `Command { std: "docker" "inspect" "0e5feb382e89b7fc24d2d502837b39761509cc19287aa1461636705fe0de48e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5feb382e89b7fc24d2d502837b39761509cc19287aa1461636705fe0de48e1", kill_on_drop: false }` [INFO] [stdout] 0e5feb382e89b7fc24d2d502837b39761509cc19287aa1461636705fe0de48e1 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 925e6125caf45208b89d079166daeea26e2a0f7618ab5f907455ba112099d62b [INFO] running `Command { std: "docker" "start" "-a" "925e6125caf45208b89d079166daeea26e2a0f7618ab5f907455ba112099d62b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `self::parser::*` [INFO] [stdout] --> src/ast/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use self::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/binary_op.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UndefinedOpError(String); [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/prefix_op.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UndefinedPrefixOpError(String); [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedPrefixOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typechecker/variabletype.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct VariableParseError(String); [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling y-lang v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/parser.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_program(file: impl ToString, program: &str) -> ParseResult> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_program(file: impl ToString, program: &str) -> ParseResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | if *other_item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | if *item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/print.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/boolean.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/loop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "print") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `y-lang` (test "boolean") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/printi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "loop") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/assignment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "printi") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/hello.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "assignment") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/ackermann.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/mutable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/arrays.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/unknown.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::check_failing_type_checking; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/scope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "functions") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/inline_asm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "hello") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "ackermann") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/syscalls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{check_compilation, Expected}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "inline_asm") due to 1 previous error [INFO] [stderr] error: could not compile `y-lang` (test "mutable") due to 1 previous error [INFO] [stderr] error: could not compile `y-lang` (test "unknown") due to 1 previous error [INFO] [stderr] error: could not compile `y-lang` (test "scope") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (test "arrays") due to 1 previous error [INFO] [stderr] error: could not compile `y-lang` (test "syscalls") due to 1 previous error [INFO] [stdout] warning: unused import: `self::parser::*` [INFO] [stdout] --> src/ast/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use self::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/binary_op.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UndefinedOpError(String); [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/prefix_op.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UndefinedPrefixOpError(String); [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedPrefixOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typechecker/variabletype.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct VariableParseError(String); [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/parser.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_program(file: impl ToString, program: &str) -> ParseResult> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_program(file: impl ToString, program: &str) -> ParseResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | if *other_item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | if *item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "925e6125caf45208b89d079166daeea26e2a0f7618ab5f907455ba112099d62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925e6125caf45208b89d079166daeea26e2a0f7618ab5f907455ba112099d62b", kill_on_drop: false }` [INFO] [stdout] 925e6125caf45208b89d079166daeea26e2a0f7618ab5f907455ba112099d62b