[INFO] cloning repository https://github.com/hfytr/lr_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hfytr/lr_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfytr%2Flr_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfytr%2Flr_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b6e3f321393e2e6703c2460e6ab378e54d9da1b [INFO] testing hfytr/lr_rust against 1.95.0 for beta-1.96-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhfytr%2Flr_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hfytr/lr_rust [INFO] finished tweaking git repo https://github.com/hfytr/lr_rust [INFO] tweaked toml for git repo https://github.com/hfytr/lr_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hfytr/lr_rust on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hfytr/lr_rust 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded syn v2.0.104 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98ea9d866c9fccf9770320a87002cf3ca3905d2f70c373812b8ab3fb76bc3673 [INFO] running `Command { std: "docker" "start" "-a" "98ea9d866c9fccf9770320a87002cf3ca3905d2f70c373812b8ab3fb76bc3673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98ea9d866c9fccf9770320a87002cf3ca3905d2f70c373812b8ab3fb76bc3673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ea9d866c9fccf9770320a87002cf3ca3905d2f70c373812b8ab3fb76bc3673", kill_on_drop: false }` [INFO] [stdout] 98ea9d866c9fccf9770320a87002cf3ca3905d2f70c373812b8ab3fb76bc3673 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6aec5deed430970603ed94c9df995bed1c50f35976c6c778d3ad16a206d6718 [INFO] running `Command { std: "docker" "start" "-a" "d6aec5deed430970603ed94c9df995bed1c50f35976c6c778d3ad16a206d6718", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lr_rust_shared_structs v0.1.1 (/opt/rustwide/workdir/lr_rust_shared_structs) [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling lr_rust_parsing_macro v0.1.2 (/opt/rustwide/workdir/lr_rust_parsing_macro) [INFO] [stderr] Compiling lr_rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.24s [INFO] running `Command { std: "docker" "inspect" "d6aec5deed430970603ed94c9df995bed1c50f35976c6c778d3ad16a206d6718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6aec5deed430970603ed94c9df995bed1c50f35976c6c778d3ad16a206d6718", kill_on_drop: false }` [INFO] [stdout] d6aec5deed430970603ed94c9df995bed1c50f35976c6c778d3ad16a206d6718 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1112e8163a7364e39070d14824b546e37d4fdf15596213e055863a7251fb5308 [INFO] running `Command { std: "docker" "start" "-a" "1112e8163a7364e39070d14824b546e37d4fdf15596213e055863a7251fb5308", kill_on_drop: false }` [INFO] [stderr] Compiling lr_rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/expr_lang.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lr_rust::parser! { [INFO] [stdout] 61 | | State(()), [INFO] [stdout] 62 | | Output(Node), [INFO] [stdout] 63 | | Kind(NodeKind), [INFO] [stdout] ... | [INFO] [stdout] 87 | | RightParen -> Literal(")" |_, _| Some((Node::RightParen, (), NodeKind::RightParen as usize))), [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to open log file.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Display for Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | fn expr_node(term: Node, mut expr: Node) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn expr_node(term: Node, mut expr: Node) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | fn expr_node(term: Node, mut expr: Node) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | fn term_node(factor: Node, mut term: Node) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | fn term_node(factor: Node, mut term: Node) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | fn term_node(factor: Node, mut term: Node) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_parsing_engine` in this scope [INFO] [stdout] --> tests/expr_lang.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let mut engine = create_parsing_engine().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `NodeKind` in this scope [INFO] [stdout] --> tests/expr_lang.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | let expr = engine.parse(NodeKind::Expr as usize, &s, &mut state).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_parsing_engine` in this scope [INFO] [stdout] --> tests/expr_lang.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let mut engine = create_parsing_engine().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `NodeKind` in this scope [INFO] [stdout] --> tests/expr_lang.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | let expr = engine.parse(NodeKind::Term as usize, &s, &mut state).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_parsing_engine` in this scope [INFO] [stdout] --> tests/expr_lang.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let mut engine = create_parsing_engine().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `NodeKind` in this scope [INFO] [stdout] --> tests/expr_lang.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let expr = engine.parse(NodeKind::Factor as usize, &s, &mut state).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Node::Expr { terms } => terms.into_iter().map(|node| node.eval()).sum(), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Node::Term { factors } => factors.into_iter().map(|node| node.eval()).product(), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | Node::Literal(val) => *val, [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Node::Expr { terms } => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Node::Term { factors } => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Node::Literal(val) => write!(f, "{val}")?, [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Node::Expr { ref mut terms } = expr { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/expr_lang.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if let Node::Term { ref mut factors } = term { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [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 `lr_rust` (test "expr_lang") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1112e8163a7364e39070d14824b546e37d4fdf15596213e055863a7251fb5308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1112e8163a7364e39070d14824b546e37d4fdf15596213e055863a7251fb5308", kill_on_drop: false }` [INFO] [stdout] 1112e8163a7364e39070d14824b546e37d4fdf15596213e055863a7251fb5308