[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] 4b4307f65b969d554f636ed32e97074b7e0ebcdb [INFO] testing equal-l2/novelint against 1.62.0 for beta-1.63-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequal-l2%2Fnovelint" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/equal-l2/novelint on toolchain 1.62.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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-12/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" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.1.18 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded clap v3.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "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] f4105edd6b80c51e3200e5f68496eb9127649f2f9d7213e910c65a3f5df5faa1 [INFO] running `Command { std: "docker" "start" "-a" "f4105edd6b80c51e3200e5f68496eb9127649f2f9d7213e910c65a3f5df5faa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4105edd6b80c51e3200e5f68496eb9127649f2f9d7213e910c65a3f5df5faa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4105edd6b80c51e3200e5f68496eb9127649f2f9d7213e910c65a3f5df5faa1", kill_on_drop: false }` [INFO] [stdout] f4105edd6b80c51e3200e5f68496eb9127649f2f9d7213e910c65a3f5df5faa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "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] 8fdc14546b26a96984d6e716c1068a8c72ee19256b3dbd221ecb21938087e2a6 [INFO] running `Command { std: "docker" "start" "-a" "8fdc14546b26a96984d6e716c1068a8c72ee19256b3dbd221ecb21938087e2a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling novelang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 245 | format!("Conflicting subroutine name \"{}\"", name), [INFO] [stdout] 246 | 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:261:33 [INFO] [stdout] | [INFO] [stdout] 261 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 262 | format!("Subroutine \"{}\" was not found", name), [INFO] [stdout] 263 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 296 | format!("Conflicting variable name \"{}\"", name), [INFO] [stdout] 297 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:310:37 [INFO] [stdout] | [INFO] [stdout] 310 | 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:314:33 [INFO] [stdout] | [INFO] [stdout] 314 | 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:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 321 | format!("Type mismatch, expected {}, got {}", lval_tinfo.ty, expr_ty), [INFO] [stdout] 322 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:338:33 [INFO] [stdout] | [INFO] [stdout] 338 | 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:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | 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:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | 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:433:37 [INFO] [stdout] | [INFO] [stdout] 433 | 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:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | 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:473:37 [INFO] [stdout] | [INFO] [stdout] 473 | 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:476:37 [INFO] [stdout] | [INFO] [stdout] 476 | 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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | 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:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | 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:539:33 [INFO] [stdout] | [INFO] [stdout] 539 | 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:591:33 [INFO] [stdout] | [INFO] [stdout] 591 | 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:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 145 | 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:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | 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:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | 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:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.46s [INFO] running `Command { std: "docker" "inspect" "8fdc14546b26a96984d6e716c1068a8c72ee19256b3dbd221ecb21938087e2a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fdc14546b26a96984d6e716c1068a8c72ee19256b3dbd221ecb21938087e2a6", kill_on_drop: false }` [INFO] [stdout] 8fdc14546b26a96984d6e716c1068a8c72ee19256b3dbd221ecb21938087e2a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "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] fd59b16f0bf18fff650a2613f4f3bcaa195b997ddccdb0858cae7a3a9ebe8b6a [INFO] running `Command { std: "docker" "start" "-a" "fd59b16f0bf18fff650a2613f4f3bcaa195b997ddccdb0858cae7a3a9ebe8b6a", kill_on_drop: false }` [INFO] [stderr] Compiling novelang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 245 | format!("Conflicting subroutine name \"{}\"", name), [INFO] [stdout] 246 | 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:261:33 [INFO] [stdout] | [INFO] [stdout] 261 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 262 | format!("Subroutine \"{}\" was not found", name), [INFO] [stdout] 263 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 296 | format!("Conflicting variable name \"{}\"", name), [INFO] [stdout] 297 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:310:37 [INFO] [stdout] | [INFO] [stdout] 310 | 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:314:33 [INFO] [stdout] | [INFO] [stdout] 314 | 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:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | errors.push(Error( [INFO] [stdout] | ^^^^^ unreachable call [INFO] [stdout] 321 | format!("Type mismatch, expected {}, got {}", lval_tinfo.ty, expr_ty), [INFO] [stdout] 322 | todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/semck.rs:338:33 [INFO] [stdout] | [INFO] [stdout] 338 | 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:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | 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:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | 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:433:37 [INFO] [stdout] | [INFO] [stdout] 433 | 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:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | 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:473:37 [INFO] [stdout] | [INFO] [stdout] 473 | 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:476:37 [INFO] [stdout] | [INFO] [stdout] 476 | 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:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | 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:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | 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:539:33 [INFO] [stdout] | [INFO] [stdout] 539 | 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:591:33 [INFO] [stdout] | [INFO] [stdout] 591 | 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:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 145 | 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:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | 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:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | 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:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.43s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/novelang-4cd3faa46bc7cec7) [INFO] running `Command { std: "docker" "inspect" "fd59b16f0bf18fff650a2613f4f3bcaa195b997ddccdb0858cae7a3a9ebe8b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd59b16f0bf18fff650a2613f4f3bcaa195b997ddccdb0858cae7a3a9ebe8b6a", kill_on_drop: false }` [INFO] [stdout] fd59b16f0bf18fff650a2613f4f3bcaa195b997ddccdb0858cae7a3a9ebe8b6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d32e7c9a9bb98ad636ff5f0079e35eb63f1ebc3dc6db44bcd1ccef5e5c1501dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d32e7c9a9bb98ad636ff5f0079e35eb63f1ebc3dc6db44bcd1ccef5e5c1501dd", kill_on_drop: false }` [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:244:33 [INFO] [stderr] | [INFO] [stderr] 244 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 245 | format!("Conflicting subroutine name \"{}\"", name), [INFO] [stderr] 246 | 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:261:33 [INFO] [stderr] | [INFO] [stderr] 261 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 262 | format!("Subroutine \"{}\" was not found", name), [INFO] [stderr] 263 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:295:33 [INFO] [stderr] | [INFO] [stderr] 295 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 296 | format!("Conflicting variable name \"{}\"", name), [INFO] [stderr] 297 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:310:37 [INFO] [stderr] | [INFO] [stderr] 310 | 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:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | 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:320:33 [INFO] [stderr] | [INFO] [stderr] 320 | errors.push(Error( [INFO] [stderr] | ^^^^^ unreachable call [INFO] [stderr] 321 | format!("Type mismatch, expected {}, got {}", lval_tinfo.ty, expr_ty), [INFO] [stderr] 322 | todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/semck.rs:338:33 [INFO] [stderr] | [INFO] [stderr] 338 | 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:366:33 [INFO] [stderr] | [INFO] [stderr] 366 | 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:391:33 [INFO] [stderr] | [INFO] [stderr] 391 | 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:433:37 [INFO] [stderr] | [INFO] [stderr] 433 | 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:441:33 [INFO] [stderr] | [INFO] [stderr] 441 | 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:473:37 [INFO] [stderr] | [INFO] [stderr] 473 | 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:476:37 [INFO] [stderr] | [INFO] [stderr] 476 | 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:479:33 [INFO] [stderr] | [INFO] [stderr] 479 | 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:506:33 [INFO] [stderr] | [INFO] [stderr] 506 | 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:539:33 [INFO] [stderr] | [INFO] [stderr] 539 | 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:591:33 [INFO] [stderr] | [INFO] [stderr] 591 | 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:145:27 [INFO] [stderr] | [INFO] [stderr] 145 | 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] 145 | Self::Plus(i, _s) | Self::Minus(i, _s) => { [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/semck/exprs.rs:161:33 [INFO] [stderr] | [INFO] [stderr] 161 | 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:183:31 [INFO] [stderr] | [INFO] [stderr] 183 | 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:189:26 [INFO] [stderr] | [INFO] [stderr] 189 | 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:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | 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:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[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 22 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/novelang-4cd3faa46bc7cec7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d32e7c9a9bb98ad636ff5f0079e35eb63f1ebc3dc6db44bcd1ccef5e5c1501dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32e7c9a9bb98ad636ff5f0079e35eb63f1ebc3dc6db44bcd1ccef5e5c1501dd", kill_on_drop: false }` [INFO] [stdout] d32e7c9a9bb98ad636ff5f0079e35eb63f1ebc3dc6db44bcd1ccef5e5c1501dd