[INFO] cloning repository https://github.com/VoxWave/CodeGeneration2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VoxWave/CodeGeneration2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxWave%2FCodeGeneration2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxWave%2FCodeGeneration2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f9cdb23dd34a5bff2ba72f246ff962d247dca40 [INFO] checking VoxWave/CodeGeneration2018/1f9cdb23dd34a5bff2ba72f246ff962d247dca40 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxWave%2FCodeGeneration2018" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VoxWave/CodeGeneration2018 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/VoxWave/CodeGeneration2018 [INFO] finished tweaking git repo https://github.com/VoxWave/CodeGeneration2018 [INFO] tweaked toml for git repo https://github.com/VoxWave/CodeGeneration2018 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/VoxWave/CodeGeneration2018 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8b16ec2412fbb9a04d2864a27862eb2d0d093fee4d3c0ba3df16705652177f3a [INFO] running `Command { std: "docker" "start" "-a" "8b16ec2412fbb9a04d2864a27862eb2d0d093fee4d3c0ba3df16705652177f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b16ec2412fbb9a04d2864a27862eb2d0d093fee4d3c0ba3df16705652177f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b16ec2412fbb9a04d2864a27862eb2d0d093fee4d3c0ba3df16705652177f3a", kill_on_drop: false }` [INFO] [stdout] 8b16ec2412fbb9a04d2864a27862eb2d0d093fee4d3c0ba3df16705652177f3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5aedbd7af081f6e7abb741469784af8113f378cc92acc47ad724ce9eef58f242 [INFO] running `Command { std: "docker" "start" "-a" "5aedbd7af081f6e7abb741469784af8113f378cc92acc47ad724ce9eef58f242", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking code_generation_2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/mod.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | '0'...'7' => { [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/mod.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | '0'...'7' => self.escape_buffer.push(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/mod.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | '0'...'7' => { [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/mod.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | '0'...'7' => self.escape_buffer.push(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/mod.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:423:40 [INFO] [stdout] | [INFO] [stdout] 423 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:423:40 [INFO] [stdout] | [INFO] [stdout] 423 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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/mod.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | '0'...'9' | 'A'...'F' | 'a'...'f' => self.escape_buffer.push(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] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer/mod.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | _ => { [INFO] [stdout] | __________________^ [INFO] [stdout] 316 | | [INFO] [stdout] 317 | | } [INFO] [stdout] | |_____________^ expected `State, char>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `State, char>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer/mod.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | _ => { [INFO] [stdout] | __________________^ [INFO] [stdout] 316 | | [INFO] [stdout] 317 | | } [INFO] [stdout] | |_____________^ expected `State, char>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `State, char>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer/mod.rs:519:40 [INFO] [stdout] | [INFO] [stdout] 519 | fn comparative_operator(&mut self, c: char) -> State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer/mod.rs:519:40 [INFO] [stdout] | [INFO] [stdout] 519 | fn comparative_operator(&mut self, c: char) -> State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer/mod.rs:524:39 [INFO] [stdout] | [INFO] [stdout] 524 | fn assignment_or_colon(&mut self, c: char) -> State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer/mod.rs:524:39 [INFO] [stdout] | [INFO] [stdout] 524 | fn assignment_or_colon(&mut self, c: char) -> State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code_generation_2018` (bin "code_generation_2018") due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `code_generation_2018` (bin "code_generation_2018" test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5aedbd7af081f6e7abb741469784af8113f378cc92acc47ad724ce9eef58f242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aedbd7af081f6e7abb741469784af8113f378cc92acc47ad724ce9eef58f242", kill_on_drop: false }` [INFO] [stdout] 5aedbd7af081f6e7abb741469784af8113f378cc92acc47ad724ce9eef58f242