[INFO] cloning repository https://github.com/zcfabra/funpy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zcfabra/funpy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzcfabra%2Ffunpy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzcfabra%2Ffunpy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45f195f88a63ef66351928ab73c8e6ded51a631b [INFO] checking zcfabra/funpy against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzcfabra%2Ffunpy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zcfabra/funpy [INFO] finished tweaking git repo https://github.com/zcfabra/funpy [INFO] tweaked toml for git repo https://github.com/zcfabra/funpy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zcfabra/funpy on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zcfabra/funpy 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 351a025808b68919cbff39559ae5829b24c71e0c32ebe5ef4b3344f238da20d5 [INFO] running `Command { std: "docker" "start" "-a" "351a025808b68919cbff39559ae5829b24c71e0c32ebe5ef4b3344f238da20d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "351a025808b68919cbff39559ae5829b24c71e0c32ebe5ef4b3344f238da20d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351a025808b68919cbff39559ae5829b24c71e0c32ebe5ef4b3344f238da20d5", kill_on_drop: false }` [INFO] [stdout] 351a025808b68919cbff39559ae5829b24c71e0c32ebe5ef4b3344f238da20d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cfa82d2d7d42cd874e4baaaf8f2831be8a2f21206ea2a1fa55791ffdcefa84e [INFO] running `Command { std: "docker" "start" "-a" "3cfa82d2d7d42cd874e4baaaf8f2831be8a2f21206ea2a1fa55791ffdcefa84e", kill_on_drop: false }` [INFO] [stderr] Checking interp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AstNode` [INFO] [stdout] --> src/parser.rs:2:77 [INFO] [stdout] | [INFO] [stdout] 2 | AstBinExpr, AstBlock, AstCallExpr, AstConditional, AstExpr, AstLiteral, AstNode, AstStmt, AttrAccess, CallArg, [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 imports: `File` and `OpenOptions` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Write` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Result, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstBinExpr` and `AstNode` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | AstBinExpr, AstBlock, AstCallExpr, AstConditional, AstExpr, AstLiteral, AstNode, AstStmt, AttrAccess, CallArg, [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: `Operator` [INFO] [stdout] --> src/parser.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::token::{Operator, SpannedToken, Token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Write` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Result, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lexer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/lexer.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | Self::UnknownToken(ix, ed) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ed` [INFO] [stdout] --> src/lexer.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | Self::UnknownToken(ix, ed) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/lexer.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | Self::UnterminatedString(ix) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lexer.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lexer.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 129 | Started::Spaces => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 161 | Started::Numeric => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 175 | Started::Ident => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 188 | Started::String => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> src/parser.rs:222:60 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn parse_struct_def<'src, I>(tokens: &mut Peekable, indent: usize) -> Result> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lexer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/lexer.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | Self::UnknownToken(ix, ed) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ed` [INFO] [stdout] --> src/lexer.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | Self::UnknownToken(ix, ed) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/lexer.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | Self::UnterminatedString(ix) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `WithSrcErr` is never constructed [INFO] [stdout] --> src/lexer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WithSrcErr<'src, 'err, E> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src` is never read [INFO] [stdout] --> src/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lexer<'src> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | src: &'src str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src` and `err` are never read [INFO] [stdout] --> src/lexer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WithSrcErr<'src, 'err, E> [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | src: &'src str, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | err: &'err E, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exiting_parens` and `with_annotation_parsing` are never used [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl ParseContext { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn exiting_parens(mut self: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn with_annotation_parsing(mut self: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lexer.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lexer.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 129 | Started::Spaces => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 161 | Started::Numeric => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 175 | Started::Ident => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 188 | Started::String => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interp-rs` (bin "interp-rs" test) due to 1 previous error; 12 warnings emitted [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> src/parser.rs:222:60 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn parse_struct_def<'src, I>(tokens: &mut Peekable, indent: usize) -> Result> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: struct `WithSrcErr` is never constructed [INFO] [stdout] --> src/lexer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WithSrcErr<'src, 'err, E> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src` is never read [INFO] [stdout] --> src/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lexer<'src> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | src: &'src str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src` and `err` are never read [INFO] [stdout] --> src/lexer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WithSrcErr<'src, 'err, E> [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | src: &'src str, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | err: &'err E, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exiting_parens` and `with_annotation_parsing` are never used [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl ParseContext { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn exiting_parens(mut self: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn with_annotation_parsing(mut self: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interp-rs` (bin "interp-rs") due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cfa82d2d7d42cd874e4baaaf8f2831be8a2f21206ea2a1fa55791ffdcefa84e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfa82d2d7d42cd874e4baaaf8f2831be8a2f21206ea2a1fa55791ffdcefa84e", kill_on_drop: false }` [INFO] [stdout] 3cfa82d2d7d42cd874e4baaaf8f2831be8a2f21206ea2a1fa55791ffdcefa84e