[INFO] cloning repository https://github.com/Tortoaster/SPL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tortoaster/SPL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTortoaster%2FSPL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTortoaster%2FSPL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdd25caad185d20c8a521260cd835a9c7a11dc16 [INFO] checking Tortoaster/SPL against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTortoaster%2FSPL" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tortoaster/SPL [INFO] finished tweaking git repo https://github.com/Tortoaster/SPL [INFO] tweaked toml for git repo https://github.com/Tortoaster/SPL written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tortoaster/SPL on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Tortoaster/SPL 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b892b23de9a664296aa18241b7c7a37f24448b26526a41af1aff5f8b73e44c6 [INFO] running `Command { std: "docker" "start" "-a" "1b892b23de9a664296aa18241b7c7a37f24448b26526a41af1aff5f8b73e44c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b892b23de9a664296aa18241b7c7a37f24448b26526a41af1aff5f8b73e44c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b892b23de9a664296aa18241b7c7a37f24448b26526a41af1aff5f8b73e44c6", kill_on_drop: false }` [INFO] [stdout] 1b892b23de9a664296aa18241b7c7a37f24448b26526a41af1aff5f8b73e44c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2077659692e8867610c8cf49eed3b079369c63b6afe4fbb3556a8b911974d395 [INFO] running `Command { std: "docker" "start" "-a" "2077659692e8867610c8cf49eed3b079369c63b6afe4fbb3556a8b911974d395", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking spl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/parser.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result<'a, Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result<'_, Program> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call_graph::*` [INFO] [stdout] --> src/typer/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use call_graph::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Call` [INFO] [stdout] --> src/generator/ssm.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::Call; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Color` [INFO] [stdout] --> src/generator/ssm.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Color::*` [INFO] [stdout] --> src/generator/ssm.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::Color::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Register` [INFO] [stdout] --> src/generator/ssm.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use super::Register; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call_graph::*` [INFO] [stdout] --> src/typer/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use call_graph::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Call` [INFO] [stdout] --> src/generator/ssm.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::Call; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Color` [INFO] [stdout] --> src/generator/ssm.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Color::*` [INFO] [stdout] --> src/generator/ssm.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::Color::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Register` [INFO] [stdout] --> src/generator/ssm.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use super::Register; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> tests/typer_tests.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | for dir in fs::read_dir("tests/res/") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 269 - for dir in fs::read_dir("tests/res/") { [INFO] [stdout] 269 + while let Ok(dir) = fs::read_dir("tests/res/") { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 269 - for dir in fs::read_dir("tests/res/") { [INFO] [stdout] 269 + if let Ok(dir) = fs::read_dir("tests/res/") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/typer_tests.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | fn type_check(code: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | fn type_check(code: &str) -> Result, CompileError<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> tests/parser_tests.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | for dir in fs::read_dir(RES_DIR) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 10 - for dir in fs::read_dir(RES_DIR) { [INFO] [stdout] 10 + while let Ok(dir) = fs::read_dir(RES_DIR) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 10 - for dir in fs::read_dir(RES_DIR) { [INFO] [stdout] 10 + if let Ok(dir) = fs::read_dir(RES_DIR) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> tests/parser_tests.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | for dir in fs::read_dir(RES_DIR) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 23 - for dir in fs::read_dir(RES_DIR) { [INFO] [stdout] 23 + while let Ok(dir) = fs::read_dir(RES_DIR) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 23 - for dir in fs::read_dir(RES_DIR) { [INFO] [stdout] 23 + if let Ok(dir) = fs::read_dir(RES_DIR) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/parser.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result<'a, Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result<'_, Program> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/parser.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result<'a, Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result<'_, Program> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/parser.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result<'a, Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> Result<'_, Program> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "2077659692e8867610c8cf49eed3b079369c63b6afe4fbb3556a8b911974d395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2077659692e8867610c8cf49eed3b079369c63b6afe4fbb3556a8b911974d395", kill_on_drop: false }` [INFO] [stdout] 2077659692e8867610c8cf49eed3b079369c63b6afe4fbb3556a8b911974d395