[INFO] cloning repository https://github.com/ThePerkinrex/TestLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePerkinrex/TestLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2FTestLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2FTestLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 738e07cfec8e821ce0546e0ad68b0c1a1e1ba4b7 [INFO] testing ThePerkinrex/TestLang 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%2FThePerkinrex%2FTestLang" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThePerkinrex/TestLang 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/ThePerkinrex/TestLang [INFO] finished tweaking git repo https://github.com/ThePerkinrex/TestLang [INFO] tweaked toml for git repo https://github.com/ThePerkinrex/TestLang written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate git repo https://github.com/ThePerkinrex/TestLang 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] [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-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 437e16f04b96d1d56a9846fddc44fb7d27e493f9996f13f5205f4cb3523cbabf [INFO] running `Command { std: "docker" "start" "-a" "437e16f04b96d1d56a9846fddc44fb7d27e493f9996f13f5205f4cb3523cbabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "437e16f04b96d1d56a9846fddc44fb7d27e493f9996f13f5205f4cb3523cbabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437e16f04b96d1d56a9846fddc44fb7d27e493f9996f13f5205f4cb3523cbabf", kill_on_drop: false }` [INFO] [stdout] 437e16f04b96d1d56a9846fddc44fb7d27e493f9996f13f5205f4cb3523cbabf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c65889632a199a8a189ff47aa136e68b05d08e6e5f08f921b7dc5c84a8e899e [INFO] running `Command { std: "docker" "start" "-a" "9c65889632a199a8a189ff47aa136e68b05d08e6e5f08f921b7dc5c84a8e899e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/backend/js.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_db` [INFO] [stdout] --> src/backend/js.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/backend/js.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/scope.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `imp` [INFO] [stdout] --> src/ast/types.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | imp: Impl, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Type` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/types.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Err` [INFO] [stdout] --> src/ast/types.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 123 | Err, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TypeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/types.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Clone, Debug, Hash, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `methods` [INFO] [stdout] --> src/ast/types.rs:212:2 [INFO] [stdout] | [INFO] [stdout] 212 | methods: HashMap)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Impl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/types.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Clone, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Define` [INFO] [stdout] --> src/ast/expr.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | Define(Ident, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/expr.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `DefineMut` [INFO] [stdout] --> src/ast/expr.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | DefineMut(Ident, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/expr.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `None` [INFO] [stdout] --> src/ast/expr.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/expr.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `Never` [INFO] [stdout] --> src/ast/value.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/value.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone, PartialEq)] [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: panic message is not a string literal [INFO] [stdout] --> src/span/location.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | / format!( [INFO] [stdout] 56 | | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] 57 | | file.into().display(), [INFO] [stdout] 58 | | s, [INFO] [stdout] 59 | | e [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 ~ [INFO] [stdout] 56 | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] 57 | file.into().display(), [INFO] [stdout] 58 | s, [INFO] [stdout] 59 | e [INFO] [stdout] 60 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.90s [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c65889632a199a8a189ff47aa136e68b05d08e6e5f08f921b7dc5c84a8e899e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c65889632a199a8a189ff47aa136e68b05d08e6e5f08f921b7dc5c84a8e899e", kill_on_drop: false }` [INFO] [stdout] 9c65889632a199a8a189ff47aa136e68b05d08e6e5f08f921b7dc5c84a8e899e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b14947df9a28d32fd855cbd8364d82aadaa37fecd19ee0ffb8913b650dfdbf [INFO] running `Command { std: "docker" "start" "-a" "94b14947df9a28d32fd855cbd8364d82aadaa37fecd19ee0ffb8913b650dfdbf", kill_on_drop: false }` [INFO] [stderr] Compiling lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/backend/js.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_db` [INFO] [stdout] --> src/backend/js.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/backend/js.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/scope.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `imp` [INFO] [stdout] --> src/ast/types.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | imp: Impl, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Type` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/types.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Err` [INFO] [stdout] --> src/ast/types.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 123 | Err, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TypeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/types.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Clone, Debug, Hash, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `methods` [INFO] [stdout] --> src/ast/types.rs:212:2 [INFO] [stdout] | [INFO] [stdout] 212 | methods: HashMap)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Impl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/types.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Clone, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Define` [INFO] [stdout] --> src/ast/expr.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | Define(Ident, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/expr.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `DefineMut` [INFO] [stdout] --> src/ast/expr.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | DefineMut(Ident, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/expr.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `None` [INFO] [stdout] --> src/ast/expr.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/expr.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `Never` [INFO] [stdout] --> src/ast/value.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast/value.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone, PartialEq)] [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: panic message is not a string literal [INFO] [stdout] --> src/span/location.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | / format!( [INFO] [stdout] 56 | | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] 57 | | file.into().display(), [INFO] [stdout] 58 | | s, [INFO] [stdout] 59 | | e [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 ~ [INFO] [stdout] 56 | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] 57 | file.into().display(), [INFO] [stdout] 58 | s, [INFO] [stdout] 59 | e [INFO] [stdout] 60 ~ [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 1.90s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lang-0039ee2f8fa59df0) [INFO] running `Command { std: "docker" "inspect" "94b14947df9a28d32fd855cbd8364d82aadaa37fecd19ee0ffb8913b650dfdbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b14947df9a28d32fd855cbd8364d82aadaa37fecd19ee0ffb8913b650dfdbf", kill_on_drop: false }` [INFO] [stdout] 94b14947df9a28d32fd855cbd8364d82aadaa37fecd19ee0ffb8913b650dfdbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7aebca960765aa401d2976ad822af518b91e25da17572172ff94787b14ad1d1e [INFO] running `Command { std: "docker" "start" "-a" "7aebca960765aa401d2976ad822af518b91e25da17572172ff94787b14ad1d1e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/backend/mod.rs:1:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 1 | use std::path::PathBuf; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/backend/js.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `items` [INFO] [stderr] --> src/backend/js.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `type_db` [INFO] [stderr] --> src/backend/js.rs:8:46 [INFO] [stderr] | [INFO] [stderr] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/backend/js.rs:8:68 [INFO] [stderr] | [INFO] [stderr] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `map` [INFO] [stderr] --> src/scope.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `imp` [INFO] [stderr] --> src/ast/types.rs:70:2 [INFO] [stderr] | [INFO] [stderr] 70 | imp: Impl, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Type` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/types.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Err` [INFO] [stderr] --> src/ast/types.rs:123:2 [INFO] [stderr] | [INFO] [stderr] 123 | Err, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TypeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/types.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Clone, Debug, Hash, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `methods` [INFO] [stderr] --> src/ast/types.rs:212:2 [INFO] [stderr] | [INFO] [stderr] 212 | methods: HashMap)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Impl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/types.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Clone, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Define` [INFO] [stderr] --> src/ast/expr.rs:31:2 [INFO] [stderr] | [INFO] [stderr] 31 | Define(Ident, Box>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/expr.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `DefineMut` [INFO] [stderr] --> src/ast/expr.rs:32:2 [INFO] [stderr] | [INFO] [stderr] 32 | DefineMut(Ident, Box>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/expr.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `None` [INFO] [stderr] --> src/ast/expr.rs:34:2 [INFO] [stderr] | [INFO] [stderr] 34 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/expr.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone, PartialEq)] [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: variant is never constructed: `Never` [INFO] [stderr] --> src/ast/value.rs:15:2 [INFO] [stderr] | [INFO] [stderr] 15 | Never, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast/value.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Clone, PartialEq)] [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: panic message is not a string literal [INFO] [stderr] --> src/span/location.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | / format!( [INFO] [stderr] 56 | | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stderr] 57 | | file.into().display(), [INFO] [stderr] 58 | | s, [INFO] [stderr] 59 | | e [INFO] [stderr] 60 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 55 ~ [INFO] [stderr] 56 | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stderr] 57 | file.into().display(), [INFO] [stderr] 58 | s, [INFO] [stderr] 59 | e [INFO] [stderr] 60 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lang` (bin "lang" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.50s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lang-0039ee2f8fa59df0) [INFO] running `Command { std: "docker" "inspect" "7aebca960765aa401d2976ad822af518b91e25da17572172ff94787b14ad1d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aebca960765aa401d2976ad822af518b91e25da17572172ff94787b14ad1d1e", kill_on_drop: false }` [INFO] [stdout] 7aebca960765aa401d2976ad822af518b91e25da17572172ff94787b14ad1d1e