[INFO] cloning repository https://github.com/Thrigger/thrigger_templating [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thrigger/thrigger_templating" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThrigger%2Fthrigger_templating", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThrigger%2Fthrigger_templating'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 911fb458dfbe6abbc378f4367749b311937e2e54 [INFO] building Thrigger/thrigger_templating against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThrigger%2Fthrigger_templating" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thrigger/thrigger_templating on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Thrigger/thrigger_templating [INFO] finished tweaking git repo https://github.com/Thrigger/thrigger_templating [INFO] tweaked toml for git repo https://github.com/Thrigger/thrigger_templating written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Thrigger/thrigger_templating 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building Thrigger/thrigger_templating against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThrigger%2Fthrigger_templating" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thrigger/thrigger_templating on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Thrigger/thrigger_templating [INFO] finished tweaking git repo https://github.com/Thrigger/thrigger_templating [INFO] tweaked toml for git repo https://github.com/Thrigger/thrigger_templating written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Thrigger/thrigger_templating 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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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 [ERROR] error running command: no output for 300 seconds [INFO] building Thrigger/thrigger_templating against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThrigger%2Fthrigger_templating" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thrigger/thrigger_templating on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Thrigger/thrigger_templating [INFO] finished tweaking git repo https://github.com/Thrigger/thrigger_templating [INFO] tweaked toml for git repo https://github.com/Thrigger/thrigger_templating written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Thrigger/thrigger_templating 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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48a4aecb71b387320da1510c596f15e93db47003cf725225f58605b20753bff6 [INFO] running `Command { std: "docker" "start" "-a" "48a4aecb71b387320da1510c596f15e93db47003cf725225f58605b20753bff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48a4aecb71b387320da1510c596f15e93db47003cf725225f58605b20753bff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a4aecb71b387320da1510c596f15e93db47003cf725225f58605b20753bff6", kill_on_drop: false }` [INFO] [stdout] 48a4aecb71b387320da1510c596f15e93db47003cf725225f58605b20753bff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8422308e1a4b6e721e2627f90bba66f0252dc92b278930e2e51da124bc00ee54 [INFO] running `Command { std: "docker" "start" "-a" "8422308e1a4b6e721e2627f90bba66f0252dc92b278930e2e51da124bc00ee54", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling clap_builder v4.4.4 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling clap v4.4.4 [INFO] [stderr] Compiling thrigger_templating v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `BANG_EQUAL` in this scope [INFO] [stdout] --> src/parser.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | while vec![BANG_EQUAL, EQUAL_EQUAL].contains(tokens[i]) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EQUAL_EQUAL` in this scope [INFO] [stdout] --> src/parser.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | while vec![BANG_EQUAL, EQUAL_EQUAL].contains(tokens[i]) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expressions` in this scope [INFO] [stdout] --> src/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | expressions [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/expression.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::{Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/parser.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::{Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `comparison` in this scope [INFO] [stdout] --> src/parser.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let mut expression = comparison(&tokens, i); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `comparion` [INFO] [stdout] ... [INFO] [stdout] 42 | fn comparion(tokens: &Vec, i: usize) -> Expression { [INFO] [stdout] | --------------------------------------------------------- similarly named function `comparion` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | while vec![BANG_EQUAL, EQUAL_EQUAL].contains(tokens[i]) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Token` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7587ff3622fbec0abf6ac551eab5226f22f5d958/library/core/src/slice/mod.rs:2503:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 29 | while vec![BANG_EQUAL, EQUAL_EQUAL].contains(&tokens[i]) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `previous` in this scope [INFO] [stdout] --> src/parser.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let operator: Token = previous(&tokens, i); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `comparison` in this scope [INFO] [stdout] --> src/parser.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | let right: Expression = comparison(&tokens, i); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `comparion` [INFO] [stdout] ... [INFO] [stdout] 42 | fn comparion(tokens: &Vec, i: usize) -> Expression { [INFO] [stdout] | --------------------------------------------------------- similarly named function `comparion` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new_binary` found for enum `Expression` in the current scope [INFO] [stdout] --> src/parser.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | expression = Expression::new_binary(expression, operator, right); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Expression` [INFO] [stdout] | [INFO] [stdout] ::: src/expression.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `new_binary` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | fn comparion(tokens: &Vec, i: usize) -> Expression { [INFO] [stdout] | --------- ^^^^^^^^^^ expected `Expression`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let expr = expression(&tokens, current); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut current = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut exprs = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let expressions: Vec = parser::parse(tokens); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thrigger_templating` (bin "thrigger_templating") due to 10 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8422308e1a4b6e721e2627f90bba66f0252dc92b278930e2e51da124bc00ee54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8422308e1a4b6e721e2627f90bba66f0252dc92b278930e2e51da124bc00ee54", kill_on_drop: false }` [INFO] [stdout] 8422308e1a4b6e721e2627f90bba66f0252dc92b278930e2e51da124bc00ee54