[INFO] cloning repository https://github.com/sebschmi/codegen-course [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebschmi/codegen-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebschmi%2Fcodegen-course", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebschmi%2Fcodegen-course'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4938748baad6ccbcf2d06de866dc44f65b803c70 [INFO] testing sebschmi/codegen-course against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebschmi%2Fcodegen-course" "/workspace/builds/worker-64/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebschmi/codegen-course on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebschmi/codegen-course [INFO] finished tweaking git repo https://github.com/sebschmi/codegen-course [INFO] tweaked toml for git repo https://github.com/sebschmi/codegen-course written to /workspace/builds/worker-64/source/Cargo.toml [INFO] crate git repo https://github.com/sebschmi/codegen-course already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5fd343e7eaf8f745e10f2afea2f8b67141f893c527b5b57e704f1ab8b84d52a [INFO] running `Command { std: "docker" "start" "-a" "a5fd343e7eaf8f745e10f2afea2f8b67141f893c527b5b57e704f1ab8b84d52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5fd343e7eaf8f745e10f2afea2f8b67141f893c527b5b57e704f1ab8b84d52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5fd343e7eaf8f745e10f2afea2f8b67141f893c527b5b57e704f1ab8b84d52a", kill_on_drop: false }` [INFO] [stdout] a5fd343e7eaf8f745e10f2afea2f8b67141f893c527b5b57e704f1ab8b84d52a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca4fbd585ad54e042bf5cccf10eec2b041fbccabeb9201bc4e3e03be88d5b426 [INFO] running `Command { std: "docker" "start" "-a" "ca4fbd585ad54e042bf5cccf10eec2b041fbccabeb9201bc4e3e03be88d5b426", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling codegen-course v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/parser/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | scanner: &mut Peekable>>>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_interval` [INFO] [stdout] --> src/parser/mod.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | start_interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_interval` [INFO] [stdout] --> src/parser/mod.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let current_interval = expect_token(scanner, Token::OpenBracket)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser/mod.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | Some((Ok(other), interval)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/parser/mod.rs:310:27 [INFO] [stdout] | [INFO] [stdout] 310 | Some((Err(error), _)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/parser/mod.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | scanner: &mut Peekable>>>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_interval` [INFO] [stdout] --> src/parser/mod.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | start_interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/error/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | kind: ScannerErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/error/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/error/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | kind: ParserErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/error/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | children: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/parser/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | kind: AstNodeKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expect_tokens` [INFO] [stdout] --> src/parser/mod.rs:470:4 [INFO] [stdout] | [INFO] [stdout] 470 | fn expect_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "ca4fbd585ad54e042bf5cccf10eec2b041fbccabeb9201bc4e3e03be88d5b426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4fbd585ad54e042bf5cccf10eec2b041fbccabeb9201bc4e3e03be88d5b426", kill_on_drop: false }` [INFO] [stdout] ca4fbd585ad54e042bf5cccf10eec2b041fbccabeb9201bc4e3e03be88d5b426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a30238625410d69e8a4c77af7c19be2716ac35041a86afb9880438a9058cb71 [INFO] running `Command { std: "docker" "start" "-a" "8a30238625410d69e8a4c77af7c19be2716ac35041a86afb9880438a9058cb71", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling codegen-course v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/parser/mod.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | scanner: &mut Peekable>>>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_interval` [INFO] [stdout] --> src/parser/mod.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | start_interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_interval` [INFO] [stdout] --> src/parser/mod.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let current_interval = expect_token(scanner, Token::OpenBracket)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser/mod.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | Some((Ok(other), interval)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/parser/mod.rs:310:27 [INFO] [stdout] | [INFO] [stdout] 310 | Some((Err(error), _)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/parser/mod.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | scanner: &mut Peekable>>>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_interval` [INFO] [stdout] --> src/parser/mod.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | start_interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/error/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | kind: ScannerErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/error/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/error/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | kind: ParserErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/error/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | children: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/parser/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | kind: AstNodeKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expect_tokens` [INFO] [stdout] --> src/parser/mod.rs:470:4 [INFO] [stdout] | [INFO] [stdout] 470 | fn expect_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "8a30238625410d69e8a4c77af7c19be2716ac35041a86afb9880438a9058cb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a30238625410d69e8a4c77af7c19be2716ac35041a86afb9880438a9058cb71", kill_on_drop: false }` [INFO] [stdout] 8a30238625410d69e8a4c77af7c19be2716ac35041a86afb9880438a9058cb71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7756b434d28df3704b3d7b28c838a101e213bca6a63ded1349220413854b30ec [INFO] running `Command { std: "docker" "start" "-a" "7756b434d28df3704b3d7b28c838a101e213bca6a63ded1349220413854b30ec", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `scanner` [INFO] [stderr] --> src/parser/mod.rs:289:5 [INFO] [stderr] | [INFO] [stderr] 289 | scanner: &mut Peekable>>>, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_interval` [INFO] [stderr] --> src/parser/mod.rs:290:5 [INFO] [stderr] | [INFO] [stderr] 290 | start_interval: ScanInterval, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_interval` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_interval` [INFO] [stderr] --> src/parser/mod.rs:302:17 [INFO] [stderr] | [INFO] [stderr] 302 | let current_interval = expect_token(scanner, Token::OpenBracket)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_interval` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/parser/mod.rs:305:26 [INFO] [stderr] | [INFO] [stderr] 305 | Some((Ok(other), interval)) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/parser/mod.rs:310:27 [INFO] [stderr] | [INFO] [stderr] 310 | Some((Err(error), _)) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scanner` [INFO] [stderr] --> src/parser/mod.rs:394:5 [INFO] [stderr] | [INFO] [stderr] 394 | scanner: &mut Peekable>>>, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_interval` [INFO] [stderr] --> src/parser/mod.rs:395:5 [INFO] [stderr] | [INFO] [stderr] 395 | start_interval: ScanInterval, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_interval` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/error/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | kind: ScannerErrorKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error/mod.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `interval` [INFO] [stderr] --> src/error/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | interval: ScanInterval, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error/mod.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/error/mod.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | kind: ParserErrorKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `interval` [INFO] [stderr] --> src/error/mod.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | interval: ScanInterval, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `children` [INFO] [stderr] --> src/parser/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | children: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/parser/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | kind: AstNodeKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `expect_tokens` [INFO] [stderr] --> src/parser/mod.rs:470:4 [INFO] [stderr] | [INFO] [stderr] 470 | fn expect_tokens( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `codegen-course` (bin "codegen-course" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/codegen_course-229c09a54422abb7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test scanner::tests::test_large_program ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7756b434d28df3704b3d7b28c838a101e213bca6a63ded1349220413854b30ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7756b434d28df3704b3d7b28c838a101e213bca6a63ded1349220413854b30ec", kill_on_drop: false }` [INFO] [stdout] 7756b434d28df3704b3d7b28c838a101e213bca6a63ded1349220413854b30ec