[INFO] cloning repository https://github.com/takeru56/parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takeru56/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccb11ae9f6d2e172c8d23c01759b84c8b03d5009 [INFO] testing takeru56/parser against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takeru56/parser on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takeru56/parser [INFO] finished tweaking git repo https://github.com/takeru56/parser [INFO] tweaked toml for git repo https://github.com/takeru56/parser written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/takeru56/parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d28e06228d0f70603b652ab5d4ed55c48d6cc4bd0b6e22710c0d44f37a33088 [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" "3d28e06228d0f70603b652ab5d4ed55c48d6cc4bd0b6e22710c0d44f37a33088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d28e06228d0f70603b652ab5d4ed55c48d6cc4bd0b6e22710c0d44f37a33088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d28e06228d0f70603b652ab5d4ed55c48d6cc4bd0b6e22710c0d44f37a33088", kill_on_drop: false }` [INFO] [stdout] 3d28e06228d0f70603b652ab5d4ed55c48d6cc4bd0b6e22710c0d44f37a33088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc65c11b3d31ac635916e7a2321ded286312270919941ade65c4d8bcdfebc8dc [INFO] running `Command { std: "docker" "start" "-a" "dc65c11b3d31ac635916e7a2321ded286312270919941ade65c4d8bcdfebc8dc", kill_on_drop: false }` [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | b'0'...b'9' => lex_a_token!(lex_number(input, pos)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn merge(&self, other: &Loc) -> Loc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | UnexpectedToken(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotExpression` [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | NotExpression(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotOperation` [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | NotOperation(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnclosedOpenParen` [INFO] [stdout] --> src/main.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | UnclosedOpenParen(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RedundantExpression` [INFO] [stdout] --> src/main.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | RedundantExpression(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eof` [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Num` [INFO] [stdout] --> src/main.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Num(u64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UniOp` [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | UniOp {op: UniOp, e: Box}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BinOp` [INFO] [stdout] --> src/main.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | BinOp {op: BinOp, l: Box, r: Box}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/main.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UniOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/main.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UniOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus` [INFO] [stdout] --> src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn plus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minus` [INFO] [stdout] --> src/main.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn minus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/main.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 239 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/main.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 239 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mult` [INFO] [stdout] --> src/main.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 239 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Div` [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 239 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/main.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn add(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/main.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | fn sub(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult` [INFO] [stdout] --> src/main.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn mult(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/main.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn div(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num` [INFO] [stdout] --> src/main.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | fn num(n: u64, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uniop` [INFO] [stdout] --> src/main.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binop` [INFO] [stdout] --> src/main.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/main.rs:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | fn add(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul` [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn mul(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary` [INFO] [stdout] --> src/main.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn unary(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `atom` [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn atom(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/main.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn parse(tokens: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_expr` [INFO] [stdout] --> src/main.rs:411:4 [INFO] [stdout] | [INFO] [stdout] 411 | fn parse_expr(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "dc65c11b3d31ac635916e7a2321ded286312270919941ade65c4d8bcdfebc8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc65c11b3d31ac635916e7a2321ded286312270919941ade65c4d8bcdfebc8dc", kill_on_drop: false }` [INFO] [stdout] dc65c11b3d31ac635916e7a2321ded286312270919941ade65c4d8bcdfebc8dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c7ef8b7283cc2ee110f1cfd3880906586d57764338203fb7172eeac62be35b [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" "f2c7ef8b7283cc2ee110f1cfd3880906586d57764338203fb7172eeac62be35b", kill_on_drop: false }` [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | b'0'...b'9' => lex_a_token!(lex_number(input, pos)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | UnexpectedToken(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotOperation` [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | NotOperation(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/parser-0b8c71b2f85ec9d9) [INFO] running `Command { std: "docker" "inspect" "f2c7ef8b7283cc2ee110f1cfd3880906586d57764338203fb7172eeac62be35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c7ef8b7283cc2ee110f1cfd3880906586d57764338203fb7172eeac62be35b", kill_on_drop: false }` [INFO] [stdout] f2c7ef8b7283cc2ee110f1cfd3880906586d57764338203fb7172eeac62be35b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc2046515dca0cd10e04d31a9eebb2346ba6ca316ad71b600a8a12c88b297e09 [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" "dc2046515dca0cd10e04d31a9eebb2346ba6ca316ad71b600a8a12c88b297e09", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stdout] running 2 tests [INFO] [stderr] --> src/main.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | b'0'...b'9' => lex_a_token!(lex_number(input, pos)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnexpectedToken` [INFO] [stderr] --> src/main.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | UnexpectedToken(Token), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:202:10 [INFO] [stderr] | [INFO] [stderr] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotOperation` [INFO] [stderr] --> src/main.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | NotOperation(Token), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:202:10 [INFO] [stderr] | [INFO] [stderr] 202 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `parser` (bin "parser" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/parser-0b8c71b2f85ec9d9) [INFO] [stdout] test test_parser ... ok [INFO] [stdout] test test_lexer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc2046515dca0cd10e04d31a9eebb2346ba6ca316ad71b600a8a12c88b297e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2046515dca0cd10e04d31a9eebb2346ba6ca316ad71b600a8a12c88b297e09", kill_on_drop: false }` [INFO] [stdout] dc2046515dca0cd10e04d31a9eebb2346ba6ca316ad71b600a8a12c88b297e09