[INFO] cloning repository https://github.com/shine00chang/Parsley [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shine00chang/Parsley" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshine00chang%2FParsley", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshine00chang%2FParsley'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 671dc91d19f05cd3e53f7682c35f96489267e3e3 [INFO] checking shine00chang/Parsley against master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshine00chang%2FParsley" "/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/shine00chang/Parsley on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shine00chang/Parsley [INFO] finished tweaking git repo https://github.com/shine00chang/Parsley [INFO] tweaked toml for git repo https://github.com/shine00chang/Parsley written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shine00chang/Parsley 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" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d721dde249918f7b3db6ad854949923893f2d07fc7565c022d4d66ba154942e [INFO] running `Command { std: "docker" "start" "-a" "5d721dde249918f7b3db6ad854949923893f2d07fc7565c022d4d66ba154942e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d721dde249918f7b3db6ad854949923893f2d07fc7565c022d4d66ba154942e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d721dde249918f7b3db6ad854949923893f2d07fc7565c022d4d66ba154942e", kill_on_drop: false }` [INFO] [stdout] 5d721dde249918f7b3db6ad854949923893f2d07fc7565c022d4d66ba154942e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebb3a027b8a997423aaadc6d26a7bc9545569d9bbc4ee8569078a7243b32b179 [INFO] running `Command { std: "docker" "start" "-a" "ebb3a027b8a997423aaadc6d26a7bc9545569d9bbc4ee8569078a7243b32b179", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::parser::declare::Declaration` [INFO] [stdout] --> src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::parser::declare::Declaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::assign::Assignment` [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::parser::assign::Assignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::conditional::If` [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::parser::conditional::If; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::_loop::Loop` [INFO] [stdout] --> src/ast.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::parser::_loop::Loop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/parser/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parser/operation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Box` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_literal` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `parse_literal` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `surround` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `surround` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::declare::Declaration` [INFO] [stdout] --> src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::parser::declare::Declaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::assign::Assignment` [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::parser::assign::Assignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::conditional::If` [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::parser::conditional::If; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::_loop::Loop` [INFO] [stdout] --> src/ast.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::parser::_loop::Loop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/block.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] ... [INFO] [stdout] 57 | Environment, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/parser/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/expr/primitive/bol.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] 140 | use crate::interpreter::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/expr/primitive/num.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] 145 | use crate::interpreter::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/conditional.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] 57 | use crate::{interpreter::Environment, ast::Operation, parser::declare::declaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Operation` is imported redundantly [INFO] [stdout] --> src/parser/conditional.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | -------- the item `Operation` is already imported here [INFO] [stdout] 57 | use crate::{interpreter::Environment, ast::Operation, parser::declare::declaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parser/operation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Box` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_literal` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `parse_literal` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `surround` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `surround` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/parser/_loop.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Types` [INFO] [stdout] --> src/parser/_loop.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use crate::ast::Types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::assign::assignment` [INFO] [stdout] --> src/parser/_loop.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::parser::assign::assignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::operation::operation` [INFO] [stdout] --> src/parser/_loop.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::parser::operation::operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Environment` [INFO] [stdout] --> src/parser/_loop.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use crate::interpreter::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> src/parser/block.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let v3 = env.var(&"var3".to_owned()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> src/parser/block.rs:78:65 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(matches!(Result::<&Types, InterpreterErr>::Err, v3)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Types { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `or`, `one_or_more`, `prefix`, and `surround` are never used [INFO] [stdout] --> src/parser.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 87 | / impl<'a, T> BoxedParser<'a, T> [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | T: 'a [INFO] [stdout] | |_________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn or

(self, p: P) -> BoxedParser<'a, T> [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn one_or_more (self) -> BoxedParser<'a, Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn prefix<'b> (self, pre: &'b str) -> BoxedParser<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn surround<'b> (self, a: &'b str, b: &'b str) -> BoxedParser<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind2` is never used [INFO] [stdout] --> src/parser/core.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn bind2<'t, F, T>(f: F) -> F [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_or_more` is never used [INFO] [stdout] --> src/parser/core.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn one_or_more<'a, A, P> (p: P) -> impl Parser> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Types { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `or`, `one_or_more`, `prefix`, and `surround` are never used [INFO] [stdout] --> src/parser.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 87 | / impl<'a, T> BoxedParser<'a, T> [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | T: 'a [INFO] [stdout] | |_________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn or

(self, p: P) -> BoxedParser<'a, T> [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn one_or_more (self) -> BoxedParser<'a, Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn prefix<'b> (self, pre: &'b str) -> BoxedParser<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn surround<'b> (self, a: &'b str, b: &'b str) -> BoxedParser<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind2` is never used [INFO] [stdout] --> src/parser/core.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn bind2<'t, F, T>(f: F) -> F [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_or_more` is never used [INFO] [stdout] --> src/parser/core.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn one_or_more<'a, A, P> (p: P) -> impl Parser> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "ebb3a027b8a997423aaadc6d26a7bc9545569d9bbc4ee8569078a7243b32b179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb3a027b8a997423aaadc6d26a7bc9545569d9bbc4ee8569078a7243b32b179", kill_on_drop: false }` [INFO] [stdout] ebb3a027b8a997423aaadc6d26a7bc9545569d9bbc4ee8569078a7243b32b179 [INFO] checking shine00chang/Parsley against master#09bc67b9158392361780e779d32997f14cc75c39 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshine00chang%2FParsley" "/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/shine00chang/Parsley on toolchain 09bc67b9158392361780e779d32997f14cc75c39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shine00chang/Parsley [INFO] finished tweaking git repo https://github.com/shine00chang/Parsley [INFO] tweaked toml for git repo https://github.com/shine00chang/Parsley written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shine00chang/Parsley 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" "+09bc67b9158392361780e779d32997f14cc75c39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0f1b6837d165844e4c83e6a20f1b7d483e6fa30a890bb87baecea4dba7178f4 [INFO] running `Command { std: "docker" "start" "-a" "a0f1b6837d165844e4c83e6a20f1b7d483e6fa30a890bb87baecea4dba7178f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0f1b6837d165844e4c83e6a20f1b7d483e6fa30a890bb87baecea4dba7178f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f1b6837d165844e4c83e6a20f1b7d483e6fa30a890bb87baecea4dba7178f4", kill_on_drop: false }` [INFO] [stdout] a0f1b6837d165844e4c83e6a20f1b7d483e6fa30a890bb87baecea4dba7178f4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c5f35ef37e549c3b1b67c7babd68e5d001b1fef4fb16164b6203e6a64a6353 [INFO] running `Command { std: "docker" "start" "-a" "a9c5f35ef37e549c3b1b67c7babd68e5d001b1fef4fb16164b6203e6a64a6353", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::parser::declare::Declaration` [INFO] [stdout] --> src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::parser::declare::Declaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::assign::Assignment` [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::parser::assign::Assignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::conditional::If` [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::parser::conditional::If; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::_loop::Loop` [INFO] [stdout] --> src/ast.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::parser::_loop::Loop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/parser/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parser/operation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Box` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_literal` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `parse_literal` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `surround` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `surround` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::declare::Declaration` [INFO] [stdout] --> src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::parser::declare::Declaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::assign::Assignment` [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::parser::assign::Assignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::conditional::If` [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::parser::conditional::If; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::_loop::Loop` [INFO] [stdout] --> src/ast.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::parser::_loop::Loop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/block.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] ... [INFO] [stdout] 57 | Environment, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/parser/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/expr/primitive/bol.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] 140 | use crate::interpreter::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/expr/primitive/num.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] 145 | use crate::interpreter::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Environment` is imported redundantly [INFO] [stdout] --> src/parser/conditional.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | -------- the item `Environment` is already imported here [INFO] [stdout] 57 | use crate::{interpreter::Environment, ast::Operation, parser::declare::declaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Operation` is imported redundantly [INFO] [stdout] --> src/parser/conditional.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | -------- the item `Operation` is already imported here [INFO] [stdout] 57 | use crate::{interpreter::Environment, ast::Operation, parser::declare::declaration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/parser/operation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Box` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_literal` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `parse_literal` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `surround` is imported redundantly [INFO] [stdout] --> src/parser/_loop.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 10 | *, [INFO] [stdout] | - the item `surround` is already imported here [INFO] [stdout] 11 | core::{parse_literal, surround}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/parser/_loop.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Types` [INFO] [stdout] --> src/parser/_loop.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use crate::ast::Types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::assign::assignment` [INFO] [stdout] --> src/parser/_loop.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::parser::assign::assignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::operation::operation` [INFO] [stdout] --> src/parser/_loop.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::parser::operation::operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Environment` [INFO] [stdout] --> src/parser/_loop.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use crate::interpreter::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> src/parser/block.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let v3 = env.var(&"var3".to_owned()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> src/parser/block.rs:78:65 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(matches!(Result::<&Types, InterpreterErr>::Err, v3)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Types { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Types { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interpreter` (bin "interpreter" test); 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `interpreter` (bin "interpreter"); 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a9c5f35ef37e549c3b1b67c7babd68e5d001b1fef4fb16164b6203e6a64a6353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c5f35ef37e549c3b1b67c7babd68e5d001b1fef4fb16164b6203e6a64a6353", kill_on_drop: false }` [INFO] [stdout] a9c5f35ef37e549c3b1b67c7babd68e5d001b1fef4fb16164b6203e6a64a6353