[INFO] cloning repository https://github.com/MadScientist2854/jovis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MadScientist2854/jovis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Fjovis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Fjovis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f8b45afc8523b0cc824e19b6bb381bbaedcb1a6 [INFO] checking MadScientist2854/jovis/5f8b45afc8523b0cc824e19b6bb381bbaedcb1a6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Fjovis" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MadScientist2854/jovis on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MadScientist2854/jovis [INFO] finished tweaking git repo https://github.com/MadScientist2854/jovis [INFO] tweaked toml for git repo https://github.com/MadScientist2854/jovis written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04c4735ef05c867e3f8436b9d77a186b783e2c071fbfe3c6c60892a42fda40c3 [INFO] running `Command { std: "docker" "start" "-a" "04c4735ef05c867e3f8436b9d77a186b783e2c071fbfe3c6c60892a42fda40c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04c4735ef05c867e3f8436b9d77a186b783e2c071fbfe3c6c60892a42fda40c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c4735ef05c867e3f8436b9d77a186b783e2c071fbfe3c6c60892a42fda40c3", kill_on_drop: false }` [INFO] [stdout] 04c4735ef05c867e3f8436b9d77a186b783e2c071fbfe3c6c60892a42fda40c3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a29734becce36e8c5f37c5f87305d6dd5e810f206ecbc9c07b10fb28cf53c298 [INFO] running `Command { std: "docker" "start" "-a" "a29734becce36e8c5f37c5f87305d6dd5e810f206ecbc9c07b10fb28cf53c298", kill_on_drop: false }` [INFO] [stderr] Compiling jovis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `checked_expr` [INFO] [stdout] --> src/expr/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod checked_expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `checked_expr`, create file "src/expr/checked_expr.rs" or "src/expr/checked_expr/mod.rs" [INFO] [stdout] = note: if there is a `mod checked_expr` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `checked_expr` [INFO] [stdout] --> src/expr/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod checked_expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `checked_expr`, create file "src/expr/checked_expr.rs" or "src/expr/checked_expr/mod.rs" [INFO] [stdout] = note: if there is a `mod checked_expr` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::token::scanner` [INFO] [stdout] --> src/expr/compiler/type_checker.rs:2:95 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{expr::parser::Parser, pprint::PPrint, token::{Token, TokenType, literal::Literal, scanner::Scanner}}; [INFO] [stdout] | ^^^^^^^ could not find `scanner` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::token::scanner` [INFO] [stdout] --> src/expr/compiler/code_generator/mod.rs:2:77 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{expr::parser::Parser, linker::j_link, token::{literal::Literal, scanner::Scanner}}; [INFO] [stdout] | ^^^^^^^ could not find `scanner` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::token::scanner` [INFO] [stdout] --> src/expr/compiler/type_checker.rs:2:95 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{expr::parser::Parser, pprint::PPrint, token::{Token, TokenType, literal::Literal, scanner::Scanner}}; [INFO] [stdout] | ^^^^^^^ could not find `scanner` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::token::scanner` [INFO] [stdout] --> src/expr/compiler/code_generator/mod.rs:2:77 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{expr::parser::Parser, linker::j_link, token::{literal::Literal, scanner::Scanner}}; [INFO] [stdout] | ^^^^^^^ could not find `scanner` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | fn from(value: ScannerError) -> Self { [INFO] [stdout] | ----- ---- return type is error::Error<'2> [INFO] [stdout] | | [INFO] [stdout] | has type `ScannerError<'1>` [INFO] [stdout] 19 | Error::Scanner(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | fn from(value: ScannerError) -> Self { [INFO] [stdout] | ----- ---- return type is error::Error<'2> [INFO] [stdout] | | [INFO] [stdout] | has type `ScannerError<'1>` [INFO] [stdout] 19 | Error::Scanner(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.start` because it is borrowed [INFO] [stdout] --> src/scanner/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 71 | fn scan_token(&mut self) -> Result, ScannerError> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 95 | '"' => self.scan_string()?, [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `self.start` is borrowed here [INFO] [stdout] | returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 136 | self.start = self.current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `self.start` is assigned to here but it was already borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0503]: cannot use `self.current` because it was mutably borrowed [INFO] [stdout] --> src/scanner/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 71 | fn scan_token(&mut self) -> Result, ScannerError> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 95 | '"' => self.scan_string()?, [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` is borrowed here [INFO] [stdout] | returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 136 | self.start = self.current; [INFO] [stdout] | ^^^^^^^^^^^^ use of borrowed `*self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.start` because it is borrowed [INFO] [stdout] --> src/scanner/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 71 | fn scan_token(&mut self) -> Result, ScannerError> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 95 | '"' => self.scan_string()?, [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `self.start` is borrowed here [INFO] [stdout] | returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 136 | self.start = self.current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `self.start` is assigned to here but it was already borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0503]: cannot use `self.current` because it was mutably borrowed [INFO] [stdout] --> src/scanner/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 71 | fn scan_token(&mut self) -> Result, ScannerError> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 95 | '"' => self.scan_string()?, [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` is borrowed here [INFO] [stdout] | returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 136 | self.start = self.current; [INFO] [stdout] | ^^^^^^^^^^^^ use of borrowed `*self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0503, E0506, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0503, E0506, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jovis` (bin "jovis" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jovis` (bin "jovis") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "a29734becce36e8c5f37c5f87305d6dd5e810f206ecbc9c07b10fb28cf53c298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29734becce36e8c5f37c5f87305d6dd5e810f206ecbc9c07b10fb28cf53c298", kill_on_drop: false }` [INFO] [stdout] a29734becce36e8c5f37c5f87305d6dd5e810f206ecbc9c07b10fb28cf53c298