[INFO] cloning repository https://github.com/equal-l2/novelint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/equal-l2/novelint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequal-l2%2Fnovelint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequal-l2%2Fnovelint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db342104b46f387af8571ebe1f86820bab50e726 [INFO] testing equal-l2/novelint against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequal-l2%2Fnovelint" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/equal-l2/novelint on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/equal-l2/novelint [INFO] finished tweaking git repo https://github.com/equal-l2/novelint [INFO] tweaked toml for git repo https://github.com/equal-l2/novelint written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/equal-l2/novelint already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74c41480029785a65c73181bb02bb4bfd8187010d28bc79e7cc5965c39c965a0 [INFO] running `Command { std: "docker" "start" "-a" "74c41480029785a65c73181bb02bb4bfd8187010d28bc79e7cc5965c39c965a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74c41480029785a65c73181bb02bb4bfd8187010d28bc79e7cc5965c39c965a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c41480029785a65c73181bb02bb4bfd8187010d28bc79e7cc5965c39c965a0", kill_on_drop: false }` [INFO] [stdout] 74c41480029785a65c73181bb02bb4bfd8187010d28bc79e7cc5965c39c965a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 216a1f610ece160fb5f53a5856b397abc34a182c4ce71ebe214330e5d8061843 [INFO] running `Command { std: "docker" "start" "-a" "216a1f610ece160fb5f53a5856b397abc34a182c4ce71ebe214330e5d8061843", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling novelang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `span::*` [INFO] [stdout] --> src/semck/exprs.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exprs::{items::*, span::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:243:33 [INFO] [stdout] | [INFO] [stdout] 243 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 244 | format!("Conflicting subroutine name \"{}\"", name), [INFO] [stdout] 245 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 261 | format!("Subroutine \"{}\" was not found", name), [INFO] [stdout] 262 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:294:33 [INFO] [stdout] | [INFO] [stdout] 294 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 295 | format!("Conflicting variable name \"{}\"", name), [INFO] [stdout] 296 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 320 | format!("Type mismatch, expected {}, got {}", lval_tinfo.ty, expr_ty), [INFO] [stdout] 321 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 337 | errors.push(Error(format!("A stray Else-If detected"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:365:33 [INFO] [stdout] | [INFO] [stdout] 365 | errors.push(Error(format!("A stray Else detected"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:390:33 [INFO] [stdout] | [INFO] [stdout] 390 | errors.push(Error(format!("A stray End detected."), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:432:37 [INFO] [stdout] | [INFO] [stdout] 432 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:472:37 [INFO] [stdout] | [INFO] [stdout] 472 | errors.push(Error(format!("Expected Num, found {}", info.ty), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:475:37 [INFO] [stdout] | [INFO] [stdout] 475 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | errors.push(Error(format!("Break must be in a loop"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:538:33 [INFO] [stdout] | [INFO] [stdout] 538 | errors.push(Error(format!("Break must be in a loop"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:590:33 [INFO] [stdout] | [INFO] [stdout] 590 | errors.push(Error(format!("Return must be in a sub"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | Self::Plus(i, s) | Self::Minus(i, s) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 146 | Self::Plus(i, _s) | Self::Minus(i, _s) => { [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | Self::ArrElem(l, r, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Self::Ident(name, s) => stack [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | Self::Arr(i, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unexpected` [INFO] [stdout] --> src/semck/exprs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Unexpected { expected: Type, actual: Type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/semck/exprs.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.53s [INFO] running `Command { std: "docker" "inspect" "216a1f610ece160fb5f53a5856b397abc34a182c4ce71ebe214330e5d8061843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216a1f610ece160fb5f53a5856b397abc34a182c4ce71ebe214330e5d8061843", kill_on_drop: false }` [INFO] [stdout] 216a1f610ece160fb5f53a5856b397abc34a182c4ce71ebe214330e5d8061843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85191593eaecd068bbce0f133d1279f1ef0f37217e531a7c17af09e353439b5e [INFO] running `Command { std: "docker" "start" "-a" "85191593eaecd068bbce0f133d1279f1ef0f37217e531a7c17af09e353439b5e", kill_on_drop: false }` [INFO] [stderr] Compiling novelang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `span::*` [INFO] [stdout] --> src/semck/exprs.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exprs::{items::*, span::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:243:33 [INFO] [stdout] | [INFO] [stdout] 243 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 244 | format!("Conflicting subroutine name \"{}\"", name), [INFO] [stdout] 245 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 261 | format!("Subroutine \"{}\" was not found", name), [INFO] [stdout] 262 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:294:33 [INFO] [stdout] | [INFO] [stdout] 294 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 295 | format!("Conflicting variable name \"{}\"", name), [INFO] [stdout] 296 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 320 | format!("Type mismatch, expected {}, got {}", lval_tinfo.ty, expr_ty), [INFO] [stdout] 321 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 337 | errors.push(Error(format!("A stray Else-If detected"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:365:33 [INFO] [stdout] | [INFO] [stdout] 365 | errors.push(Error(format!("A stray Else detected"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:390:33 [INFO] [stdout] | [INFO] [stdout] 390 | errors.push(Error(format!("A stray End detected."), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:432:37 [INFO] [stdout] | [INFO] [stdout] 432 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:472:37 [INFO] [stdout] | [INFO] [stdout] 472 | errors.push(Error(format!("Expected Num, found {}", info.ty), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:475:37 [INFO] [stdout] | [INFO] [stdout] 475 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | errors.push(Error(format!("Break must be in a loop"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:538:33 [INFO] [stdout] | [INFO] [stdout] 538 | errors.push(Error(format!("Break must be in a loop"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:590:33 [INFO] [stdout] | [INFO] [stdout] 590 | errors.push(Error(format!("Return must be in a sub"), todo!())); [INFO] [stdout] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | Self::Plus(i, s) | Self::Minus(i, s) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 146 | Self::Plus(i, _s) | Self::Minus(i, _s) => { [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | Self::ArrElem(l, r, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Self::Ident(name, s) => stack [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/semck/exprs.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | Self::Arr(i, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unexpected` [INFO] [stdout] --> src/semck/exprs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Unexpected { expected: Type, actual: Type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/semck/exprs.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.96s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/novelang-43d575ca76c97e3c) [INFO] running `Command { std: "docker" "inspect" "85191593eaecd068bbce0f133d1279f1ef0f37217e531a7c17af09e353439b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85191593eaecd068bbce0f133d1279f1ef0f37217e531a7c17af09e353439b5e", kill_on_drop: false }` [INFO] [stdout] 85191593eaecd068bbce0f133d1279f1ef0f37217e531a7c17af09e353439b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f2e90f940dbea97974653e412a57b5cc9de4c7548561fd8777af328774411105 [INFO] running `Command { std: "docker" "start" "-a" "f2e90f940dbea97974653e412a57b5cc9de4c7548561fd8777af328774411105", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `span::*` [INFO] [stdout] [INFO] [stderr] --> src/semck/exprs.rs:3:30 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 3 | use crate::exprs::{items::*, span::*}; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:243:33 [INFO] [stderr] | [INFO] [stderr] 243 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 244 | format!("Conflicting subroutine name \"{}\"", name), [INFO] [stderr] 245 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:260:33 [INFO] [stderr] | [INFO] [stderr] 260 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 261 | format!("Subroutine \"{}\" was not found", name), [INFO] [stderr] 262 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:294:33 [INFO] [stderr] | [INFO] [stderr] 294 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 295 | format!("Conflicting variable name \"{}\"", name), [INFO] [stderr] 296 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:309:37 [INFO] [stderr] | [INFO] [stderr] 309 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:313:33 [INFO] [stderr] | [INFO] [stderr] 313 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:319:33 [INFO] [stderr] | [INFO] [stderr] 319 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 320 | format!("Type mismatch, expected {}, got {}", lval_tinfo.ty, expr_ty), [INFO] [stderr] 321 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:337:33 [INFO] [stderr] | [INFO] [stderr] 337 | errors.push(Error(format!("A stray Else-If detected"), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:365:33 [INFO] [stderr] | [INFO] [stderr] 365 | errors.push(Error(format!("A stray Else detected"), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:390:33 [INFO] [stderr] | [INFO] [stderr] 390 | errors.push(Error(format!("A stray End detected."), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:432:37 [INFO] [stderr] | [INFO] [stderr] 432 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:440:33 [INFO] [stderr] | [INFO] [stderr] 440 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:472:37 [INFO] [stderr] | [INFO] [stderr] 472 | errors.push(Error(format!("Expected Num, found {}", info.ty), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:475:37 [INFO] [stderr] | [INFO] [stderr] 475 | errors.push(Error(format!("LVal \"{}\" is immutable", target), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:478:33 [INFO] [stderr] | [INFO] [stderr] 478 | errors.push(Error(format!("LVal \"{}\" is invalid", target), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:505:33 [INFO] [stderr] | [INFO] [stderr] 505 | errors.push(Error(format!("Break must be in a loop"), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:538:33 [INFO] [stderr] | [INFO] [stderr] 538 | errors.push(Error(format!("Break must be in a loop"), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:590:33 [INFO] [stderr] | [INFO] [stderr] 590 | errors.push(Error(format!("Return must be in a sub"), todo!())); [INFO] [stderr] | ^^^^^ unreachable call ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/semck/exprs.rs:146:27 [INFO] [stderr] | [INFO] [stderr] 146 | Self::Plus(i, s) | Self::Minus(i, s) => { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 146 | Self::Plus(i, _s) | Self::Minus(i, _s) => { [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/semck/exprs.rs:162:33 [INFO] [stderr] | [INFO] [stderr] 162 | Self::ArrElem(l, r, s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/semck/exprs.rs:184:31 [INFO] [stderr] | [INFO] [stderr] 184 | Self::Ident(name, s) => stack [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/semck/exprs.rs:190:26 [INFO] [stderr] | [INFO] [stderr] 190 | Self::Arr(i, s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unexpected` [INFO] [stderr] --> src/semck/exprs.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Unexpected { expected: Type, actual: Type }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/semck/exprs.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[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: `novelang` (bin "novelang" test) generated 23 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/novelang-43d575ca76c97e3c) [INFO] running `Command { std: "docker" "inspect" "f2e90f940dbea97974653e412a57b5cc9de4c7548561fd8777af328774411105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e90f940dbea97974653e412a57b5cc9de4c7548561fd8777af328774411105", kill_on_drop: false }` [INFO] [stdout] f2e90f940dbea97974653e412a57b5cc9de4c7548561fd8777af328774411105