[INFO] cloning repository https://github.com/mateogo42/monkey-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mateogo42/monkey-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fmonkey-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fmonkey-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6d7ecc8d26762888bc9e9934756afc2b3951aa4 [INFO] checking mateogo42/monkey-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fmonkey-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mateogo42/monkey-rust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mateogo42/monkey-rust [INFO] finished tweaking git repo https://github.com/mateogo42/monkey-rust [INFO] tweaked toml for git repo https://github.com/mateogo42/monkey-rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mateogo42/monkey-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 852eb0385639d4384df53d3ecbea28ff36853ed1ff1b2f44982ed01c9e0c9766 [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" "852eb0385639d4384df53d3ecbea28ff36853ed1ff1b2f44982ed01c9e0c9766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "852eb0385639d4384df53d3ecbea28ff36853ed1ff1b2f44982ed01c9e0c9766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852eb0385639d4384df53d3ecbea28ff36853ed1ff1b2f44982ed01c9e0c9766", kill_on_drop: false }` [INFO] [stdout] 852eb0385639d4384df53d3ecbea28ff36853ed1ff1b2f44982ed01c9e0c9766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd92f28d3eba0d9a492b4c9270d97817d6cfe80bb5c8b3a7a1f1322b0f93cc03 [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" "cd92f28d3eba0d9a492b4c9270d97817d6cfe80bb5c8b3a7a1f1322b0f93cc03", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking monkey v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/eval/eval.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | let lexer = Lexer::new(test.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | let lexer = Lexer::new(test.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:328:30 [INFO] [stdout] | [INFO] [stdout] 328 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | let lexer = Lexer::new(test.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | let lexer = Lexer::new(test.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:386:26 [INFO] [stdout] | [INFO] [stdout] 386 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:396:21 [INFO] [stdout] | [INFO] [stdout] 396 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 397 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/eval/eval.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let lexer = Lexer::new(test.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/eval/eval.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | let mut parser = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 174 | use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lexer/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LT_EQ, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `LtEq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lexer/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | GT_EQ, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `GtEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lexer/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lexer/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LT_EQ, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `LtEq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lexer/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | GT_EQ, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `GtEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lexer/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/eval/eval.rs:338:48 [INFO] [stdout] | [INFO] [stdout] 338 | ("fn (x) { x + 2; };".to_string(), Object::Function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 arguments [INFO] [stdout] 339 | vec![Token::IDENT("x".to_string())], [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 340 | / Box::new( [INFO] [stdout] 341 | | Statement::Block(vec![ [INFO] [stdout] 342 | | Statement::Expr(Expression::Infix( [INFO] [stdout] 343 | | Box::new(Expression::Ident("x".to_string())), [INFO] [stdout] ... | [INFO] [stdout] 347 | | ]) [INFO] [stdout] 348 | | ), [INFO] [stdout] | |_________________- [INFO] [stdout] 349 | Box::new(Environment::new()) [INFO] [stdout] | ---------------------------- supplied 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey` due to 24 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 23 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cd92f28d3eba0d9a492b4c9270d97817d6cfe80bb5c8b3a7a1f1322b0f93cc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd92f28d3eba0d9a492b4c9270d97817d6cfe80bb5c8b3a7a1f1322b0f93cc03", kill_on_drop: false }` [INFO] [stdout] cd92f28d3eba0d9a492b4c9270d97817d6cfe80bb5c8b3a7a1f1322b0f93cc03