[INFO] cloning repository https://github.com/MartinVacheron/od-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MartinVacheron/od-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinVacheron%2Fod-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinVacheron%2Fod-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ad3466152bc4a12054c07d6ca959cab5436f515 [INFO] testing MartinVacheron/od-lang against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinVacheron%2Fod-lang" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MartinVacheron/od-lang on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MartinVacheron/od-lang [INFO] finished tweaking git repo https://github.com/MartinVacheron/od-lang [INFO] tweaked toml for git repo https://github.com/MartinVacheron/od-lang written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MartinVacheron/od-lang 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3aea3aacc191dfa133159e9706d7d5bdf43703633362c4ca8ca63cb7d716114 [INFO] running `Command { std: "docker" "start" "-a" "b3aea3aacc191dfa133159e9706d7d5bdf43703633362c4ca8ca63cb7d716114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3aea3aacc191dfa133159e9706d7d5bdf43703633362c4ca8ca63cb7d716114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3aea3aacc191dfa133159e9706d7d5bdf43703633362c4ca8ca63cb7d716114", kill_on_drop: false }` [INFO] [stdout] b3aea3aacc191dfa133159e9706d7d5bdf43703633362c4ca8ca63cb7d716114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd1f7969087d5264847e0f03289e7dea5287591df3e15a2c712fd10b34d81c55 [INFO] running `Command { std: "docker" "start" "-a" "cd1f7969087d5264847e0f03289e7dea5287591df3e15a2c712fd10b34d81c55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling tools v0.1.0 (/opt/rustwide/workdir/crates/tools) [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling frontend v0.1.0 (/opt/rustwide/workdir/crates/frontend) [INFO] [stdout] warning: variants `MissingParenStructCreation` and `WrongReturnType` are never constructed [INFO] [stdout] --> crates/frontend/src/parser/errors_parser.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 81 | MissingParenStructCreation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | WrongReturnType(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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] [stderr] Compiling runtime v0.1.0 (/opt/rustwide/workdir/crates/runtime) [INFO] [stdout] error[E0425]: cannot find value `k` in this scope [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:149:58 [INFO] [stdout] | [INFO] [stdout] 149 | tmp_str.members.borrow_mut().get(k) [INFO] [stdout] | ^ help: a tuple variant with a similar name exists: `Ok` [INFO] [stdout] --> /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:532:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Ok` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefMut` [INFO] [stdout] --> crates/runtime/src/environment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `entry` found for mutable reference `&mut Rc>>` in the current scope [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:92:60 [INFO] [stdout] | [INFO] [stdout] 92 | ... match members.borrow_mut().entry(symbol.clone()) { [INFO] [stdout] | ^^^^^ method not found in `&mut Rc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:99:50 [INFO] [stdout] | [INFO] [stdout] 99 | ... let rv = tmp_bor.get_mut(name).ok_or(InterpreterError::StructMemberNotFound(proto.name.clone(), name.clone()) )?; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument of type `&String` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/cell.rs:1190:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 99 - let rv = tmp_bor.get_mut(name).ok_or(InterpreterError::StructMemberNotFound(proto.name.clone(), name.clone()) )?; [INFO] [stdout] 99 + let rv = tmp_bor.get_mut().ok_or(InterpreterError::StructMemberNotFound(proto.name.clone(), name.clone()) )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or` found for mutable reference `&mut HashMap` in the current scope [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:99:64 [INFO] [stdout] | [INFO] [stdout] 99 | ... let rv = tmp_bor.get_mut(name).ok_or(InterpreterError::StructMemberNotFound(proto.name.clone(), name.clone()) )?; [INFO] [stdout] | ^^^^^ method not found in `&mut HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 147 | / match obj { [INFO] [stdout] 148 | | RuntimeVal::StructTmp(tmp_str) => { [INFO] [stdout] 149 | | tmp_str.members.borrow_mut().get(k) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Option<&RuntimeVal>` [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<&RuntimeVal>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 149 | tmp_str.members.borrow_mut().get(k); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 151 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for mutable reference `&mut Rc>>` in the current scope [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:409:34 [INFO] [stdout] | [INFO] [stdout] 409 | members.borrow_mut().insert(mem.name, mem.value); [INFO] [stdout] | ^^^^^^ method not found in `&mut Rc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for mutable reference `&mut Rc>>` in the current scope [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:447:46 [INFO] [stdout] | [INFO] [stdout] 447 | members.borrow_mut().insert(arg_name.clone(), arg_val); [INFO] [stdout] | ^^^^^^ method not found in `&mut Rc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:571:30 [INFO] [stdout] | [INFO] [stdout] 571 | ... .get_mut(&name) [INFO] [stdout] | ^^^^^^^ ----- unexpected argument of type `&String` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/cell.rs:1190:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 571 - .get_mut(&name) [INFO] [stdout] 571 + .get_mut() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or` found for mutable reference `&mut HashMap` in the current scope [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 568 | match final_members [INFO] [stdout] | ___________________________- [INFO] [stdout] 569 | | .clone() [INFO] [stdout] 570 | | .borrow_mut() [INFO] [stdout] 571 | | .get_mut(&name) [INFO] [stdout] 572 | | .ok_or(InterpreterError::StructMemberNotFound(final_proto.name.clone(), name.clone()))? [INFO] [stdout] | | -^^^^^ method not found in `&mut HashMap` [INFO] [stdout] | |_____________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:623:44 [INFO] [stdout] | [INFO] [stdout] 623 | ExpressionKind::FunctionCall { name, args } => todo!("First element of member being a function not implemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> crates/runtime/src/interpreter/expr.rs:623:50 [INFO] [stdout] | [INFO] [stdout] 623 | ExpressionKind::FunctionCall { name, args } => todo!("First element of member being a function not implemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtime` (lib) due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd1f7969087d5264847e0f03289e7dea5287591df3e15a2c712fd10b34d81c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1f7969087d5264847e0f03289e7dea5287591df3e15a2c712fd10b34d81c55", kill_on_drop: false }` [INFO] [stdout] cd1f7969087d5264847e0f03289e7dea5287591df3e15a2c712fd10b34d81c55