[INFO] cloning repository https://github.com/nickbnf/plic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nickbnf/plic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickbnf%2Fplic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickbnf%2Fplic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 590ac8a7f2b3cddd6c01709c6ddef92e7b851c0a [INFO] checking nickbnf/plic against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickbnf%2Fplic" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nickbnf/plic on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nickbnf/plic [INFO] finished tweaking git repo https://github.com/nickbnf/plic [INFO] tweaked toml for git repo https://github.com/nickbnf/plic written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nickbnf/plic 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded unicode-width v0.1.3 [INFO] [stderr] Downloaded matches v0.1.2 [INFO] [stderr] Downloaded vec_map v0.6.0 [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded term_size v0.2.1 [INFO] [stderr] Downloaded clap v2.13.0 [INFO] [stderr] Downloaded libc v0.2.16 [INFO] [stderr] Downloaded strsim v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 400094bfce04734ffd776e7395b56955d22c81261ff66e22e860eae4ed243da0 [INFO] running `Command { std: "docker" "start" "-a" "400094bfce04734ffd776e7395b56955d22c81261ff66e22e860eae4ed243da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "400094bfce04734ffd776e7395b56955d22c81261ff66e22e860eae4ed243da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400094bfce04734ffd776e7395b56955d22c81261ff66e22e860eae4ed243da0", kill_on_drop: false }` [INFO] [stdout] 400094bfce04734ffd776e7395b56955d22c81261ff66e22e860eae4ed243da0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08fe5e821d3e1487f7b613758cf2c78c34c708b9388d94d75c9e4772d9ab142a [INFO] running `Command { std: "docker" "start" "-a" "08fe5e821d3e1487f7b613758cf2c78c34c708b9388d94d75c9e4772d9ab142a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.3 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking strsim v0.5.1 [INFO] [stderr] Checking matches v0.1.2 [INFO] [stderr] Checking term_size v0.2.1 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking clap v2.13.0 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking plic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate matches; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/lexer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/lexer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | n @ '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | while let Some(&'0' ... '9') = self.iter.peek() { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&('0'..='9')` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | c @ 'A' ... 'Z' | c @ 'a' ... 'z' | c @ '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | c @ 'A' ... 'Z' | c @ 'a' ... 'z' | c @ '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | ... Some(&'A' ... 'Z') | Some(&'a' ... 'z') | Some(&'_') => [INFO] [stdout] | ^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&('A'..='Z')` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | ... Some(&'A' ... 'Z') | Some(&'a' ... 'z') | Some(&'_') => [INFO] [stdout] | ^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&('a'..='z')` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | n @ '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | while let Some(&'0' ... '9') = self.iter.peek() { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&('0'..='9')` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | c @ 'A' ... 'Z' | c @ 'a' ... 'z' | c @ '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | c @ 'A' ... 'Z' | c @ 'a' ... 'z' | c @ '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | ... Some(&'A' ... 'Z') | Some(&'a' ... 'z') | Some(&'_') => [INFO] [stdout] | ^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&('A'..='Z')` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | ... Some(&'A' ... 'Z') | Some(&'a' ... 'z') | Some(&'_') => [INFO] [stdout] | ^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&('a'..='z')` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/eval/builtins.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut s = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/mod.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | fn copy_expression( mut tokens: &mut T, copy: String ) -> Result [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/eval/mod.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | fn evaluate_expression( mut tokens: &mut T, env: &mut Environment ) -> Result [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | else if let Some( file ) = matches.value_of("INPUT") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pair` is never constructed [INFO] [stdout] --> src/eval/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum PlicType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Pair(HeapIndex, HeapIndex), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlicType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/eval/builtins.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut s = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/mod.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | fn copy_expression( mut tokens: &mut T, copy: String ) -> Result [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/eval/mod.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | fn evaluate_expression( mut tokens: &mut T, env: &mut Environment ) -> Result [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut env = super::Environment::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [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/eval/mod.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut env = super::Environment::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval/mod.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut env = super::Environment::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut env = super::Environment::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval/mod.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let mut env = super::Environment::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let mut env = super::Environment::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | else if let Some( file ) = matches.value_of("INPUT") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pair` is never constructed [INFO] [stdout] --> src/eval/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum PlicType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Pair(HeapIndex, HeapIndex), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlicType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "08fe5e821d3e1487f7b613758cf2c78c34c708b9388d94d75c9e4772d9ab142a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08fe5e821d3e1487f7b613758cf2c78c34c708b9388d94d75c9e4772d9ab142a", kill_on_drop: false }` [INFO] [stdout] 08fe5e821d3e1487f7b613758cf2c78c34c708b9388d94d75c9e4772d9ab142a