[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#cb06d12710575a0d7ff71d6fe108f3bcff4f9195 for pr-128425-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickbnf%2Fplic" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nickbnf/plic on toolchain cb06d12710575a0d7ff71d6fe108f3bcff4f9195 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "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-2-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" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d1be897297eaabf4b2856fa7ca6e140bce7082c2456f0d62d86d9d03142ff12 [INFO] running `Command { std: "docker" "start" "-a" "1d1be897297eaabf4b2856fa7ca6e140bce7082c2456f0d62d86d9d03142ff12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d1be897297eaabf4b2856fa7ca6e140bce7082c2456f0d62d86d9d03142ff12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1be897297eaabf4b2856fa7ca6e140bce7082c2456f0d62d86d9d03142ff12", kill_on_drop: false }` [INFO] [stdout] 1d1be897297eaabf4b2856fa7ca6e140bce7082c2456f0d62d86d9d03142ff12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca7bc88f65bae2b1c4014f77ab1ee2baeba06356ad0c244ff2e4fdc53ef45ed [INFO] running `Command { std: "docker" "start" "-a" "9ca7bc88f65bae2b1c4014f77ab1ee2baeba06356ad0c244ff2e4fdc53ef45ed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Checking unicode-width v0.1.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [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: `...` 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: 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: `...` 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, bitflags v0.7.0, clap v2.13.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9ca7bc88f65bae2b1c4014f77ab1ee2baeba06356ad0c244ff2e4fdc53ef45ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca7bc88f65bae2b1c4014f77ab1ee2baeba06356ad0c244ff2e4fdc53ef45ed", kill_on_drop: false }` [INFO] [stdout] 9ca7bc88f65bae2b1c4014f77ab1ee2baeba06356ad0c244ff2e4fdc53ef45ed