[INFO] cloning repository https://github.com/daogilvie/rust-monkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daogilvie/rust-monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogilvie%2Frust-monkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogilvie%2Frust-monkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e85553928443db6b7bea08cffb63ff27717da79b [INFO] building daogilvie/rust-monkey against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogilvie%2Frust-monkey" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daogilvie/rust-monkey on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daogilvie/rust-monkey [INFO] finished tweaking git repo https://github.com/daogilvie/rust-monkey [INFO] tweaked toml for git repo https://github.com/daogilvie/rust-monkey written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/daogilvie/rust-monkey 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cc5ee1e087d4296056ec2a0c2f0af05b004548ca043529786c477a7368f35f3 [INFO] running `Command { std: "docker" "start" "-a" "5cc5ee1e087d4296056ec2a0c2f0af05b004548ca043529786c477a7368f35f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cc5ee1e087d4296056ec2a0c2f0af05b004548ca043529786c477a7368f35f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc5ee1e087d4296056ec2a0c2f0af05b004548ca043529786c477a7368f35f3", kill_on_drop: false }` [INFO] [stdout] 5cc5ee1e087d4296056ec2a0c2f0af05b004548ca043529786c477a7368f35f3 [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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0036752a5a6b26df98b07e5bd04b16729caf26099e4451a4dad7928e13052d50 [INFO] running `Command { std: "docker" "start" "-a" "0036752a5a6b26df98b07e5bd04b16729caf26099e4451a4dad7928e13052d50", kill_on_drop: false }` [INFO] [stderr] Compiling rust-monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `with_str` is never used [INFO] [stdout] --> src/lex.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'literal> Token<'literal> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 91 | pub fn with_str<'a>(token_type: TokenType, lit: &'a str) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_statements` is never used [INFO] [stdout] --> src/parse.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> StatementBlock<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn get_statements(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lex.rs:91:54 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn with_str<'a>(token_type: TokenType, lit: &'a str) -> Token { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | pub fn with_str<'a>(token_type: TokenType, lit: &'a str) -> Token<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lex.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn for_str(input: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn for_str(input: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn parse(&mut self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "0036752a5a6b26df98b07e5bd04b16729caf26099e4451a4dad7928e13052d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0036752a5a6b26df98b07e5bd04b16729caf26099e4451a4dad7928e13052d50", kill_on_drop: false }` [INFO] [stdout] 0036752a5a6b26df98b07e5bd04b16729caf26099e4451a4dad7928e13052d50 [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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf96d437b8fbb11dc15c881161a54e46242eef93c6a4dd55f708a969a0f29c1e [INFO] running `Command { std: "docker" "start" "-a" "cf96d437b8fbb11dc15c881161a54e46242eef93c6a4dd55f708a969a0f29c1e", kill_on_drop: false }` [INFO] [stderr] Compiling rust-monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lex.rs:91:54 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn with_str<'a>(token_type: TokenType, lit: &'a str) -> Token { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | pub fn with_str<'a>(token_type: TokenType, lit: &'a str) -> Token<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lex.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn for_str(input: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn for_str(input: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn parse(&mut self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "cf96d437b8fbb11dc15c881161a54e46242eef93c6a4dd55f708a969a0f29c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf96d437b8fbb11dc15c881161a54e46242eef93c6a4dd55f708a969a0f29c1e", kill_on_drop: false }` [INFO] [stdout] cf96d437b8fbb11dc15c881161a54e46242eef93c6a4dd55f708a969a0f29c1e