[INFO] cloning repository https://github.com/julianolorenzato/venus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julianolorenzato/venus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulianolorenzato%2Fvenus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulianolorenzato%2Fvenus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9405680338791cdc73af20f66e23cb147e8bf2c4 [INFO] testing julianolorenzato/venus against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulianolorenzato%2Fvenus" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/julianolorenzato/venus [INFO] finished tweaking git repo https://github.com/julianolorenzato/venus [INFO] tweaked toml for git repo https://github.com/julianolorenzato/venus written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/julianolorenzato/venus on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/julianolorenzato/venus 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7265efd1cc4b13c10b09aa798bb09ebdfc68625c6fe2bf19c570976a73ae20b2 [INFO] running `Command { std: "docker" "start" "-a" "7265efd1cc4b13c10b09aa798bb09ebdfc68625c6fe2bf19c570976a73ae20b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7265efd1cc4b13c10b09aa798bb09ebdfc68625c6fe2bf19c570976a73ae20b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7265efd1cc4b13c10b09aa798bb09ebdfc68625c6fe2bf19c570976a73ae20b2", kill_on_drop: false }` [INFO] [stdout] 7265efd1cc4b13c10b09aa798bb09ebdfc68625c6fe2bf19c570976a73ae20b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4b9bfab2c15bce66105f0e52228dfd74d7355a1d36afb9c03e1c43c6b449a36 [INFO] running `Command { std: "docker" "start" "-a" "d4b9bfab2c15bce66105f0e52228dfd74d7355a1d36afb9c03e1c43c6b449a36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused imports: `Parser` and `iterators::Pairs` [INFO] [stdout] --> compiler/src/parser.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use pest::{iterators::Pairs, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> compiler/src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> compiler/src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Itertools`, `PeekNth`, and `PeekingNext` [INFO] [stdout] --> compiler/src/scanner.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::{multipeek, Itertools, MultiPeek, PeekNth, PeekingNext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> compiler/src/scanner.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(mut input: I) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> compiler/src/scanner.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let str = String::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Keyword` is more private than the item `scanner::Token::Keyword::0` [INFO] [stdout] --> compiler/src/scanner.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ field `scanner::Token::Keyword::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Keyword` is only usable at visibility `pub(crate)` [INFO] [stdout] --> compiler/src/scanner.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Keyword { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Builtin` is never used [INFO] [stdout] --> compiler/src/builtins.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) enum Builtin { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Targetable` is never used [INFO] [stdout] --> compiler/src/codegen.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait Targetable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> compiler/src/parser.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `string` is never used [INFO] [stdout] --> compiler/src/scanner.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 76 | / impl Scanner [INFO] [stdout] 77 | | where [INFO] [stdout] 78 | | I: Iterator, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | fn string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling venus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexer` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let mut repl_lexer = lexer::Lexer::new(reader); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `lexer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexer`, use `cargo add lexer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexer` [INFO] [stdout] --> src/main.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let repl_lexer = lexer::Lexer::new(chars); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `lexer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexer`, use `cargo add lexer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lexer` in this scope [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let token = lexer.next(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `venus` (bin "venus") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d4b9bfab2c15bce66105f0e52228dfd74d7355a1d36afb9c03e1c43c6b449a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b9bfab2c15bce66105f0e52228dfd74d7355a1d36afb9c03e1c43c6b449a36", kill_on_drop: false }` [INFO] [stdout] d4b9bfab2c15bce66105f0e52228dfd74d7355a1d36afb9c03e1c43c6b449a36