[INFO] cloning repository https://github.com/petegleeson/compile-to-wasm-lang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/petegleeson/compile-to-wasm-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetegleeson%2Fcompile-to-wasm-lang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetegleeson%2Fcompile-to-wasm-lang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7a1a5c0bf25b5b236d763965be33e0eaa04741b2
[INFO] testing petegleeson/compile-to-wasm-lang against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetegleeson%2Fcompile-to-wasm-lang" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/petegleeson/compile-to-wasm-lang on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/petegleeson/compile-to-wasm-lang
[INFO] finished tweaking git repo https://github.com/petegleeson/compile-to-wasm-lang
[INFO] tweaked toml for git repo https://github.com/petegleeson/compile-to-wasm-lang written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/petegleeson/compile-to-wasm-lang already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-07-16" "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] 88136b158d05fd7ef4aad7ac1c020b0c036be611cc500c627106539a1774741c
[INFO] running `Command { std: "docker" "start" "-a" "88136b158d05fd7ef4aad7ac1c020b0c036be611cc500c627106539a1774741c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88136b158d05fd7ef4aad7ac1c020b0c036be611cc500c627106539a1774741c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88136b158d05fd7ef4aad7ac1c020b0c036be611cc500c627106539a1774741c", kill_on_drop: false }`
[INFO] [stdout] 88136b158d05fd7ef4aad7ac1c020b0c036be611cc500c627106539a1774741c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60dd417d8eb472b9ec94a81e2320b9555a5892e8dc03ab321de75cc2d7c2f306
[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" "60dd417d8eb472b9ec94a81e2320b9555a5892e8dc03ab321de75cc2d7c2f306", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.73
[INFO] [stderr]    Compiling syn v1.0.36
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling llvm-sys v100.1.0
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling structopt-derive v0.4.8
[INFO] [stderr]    Compiling structopt v0.3.15
[INFO] [stderr]    Compiling compile-to-wasm-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:776:10
[INFO] [stdout]     |
[INFO] [stdout] 776 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:806:10
[INFO] [stdout]     |
[INFO] [stdout] 806 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lexer::Token`
[INFO] [stdout]     --> src/main.rs:1053:9
[INFO] [stdout]      |
[INFO] [stdout] 1053 |     use crate::lexer::Token;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Identifier`
[INFO] [stdout]     --> src/main.rs:1477:47
[INFO] [stdout]      |
[INFO] [stdout] 1477 |     use crate::ast::{Declaration, Expression, Identifier, Number, Program, Statement};
[INFO] [stdout]      |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => panic!(println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()`
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => panic!("{:?}", println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => std::panic::panic_any(println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                      ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:593:32
[INFO] [stdout]     |
[INFO] [stdout] 593 |                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() 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] 593 -                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stdout] 593 +                 None => panic!("Internal error: cannot find scope with id {}", id),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1565:65
[INFO] [stdout]      |
[INFO] [stdout] 1565 |                         CString::new(id.value.clone()).unwrap().as_ptr(),
[INFO] [stdout]      |                         --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1577:75
[INFO] [stdout]      |
[INFO] [stdout] 1577 |                         CString::new(format!("fn_{}", func.uid)).unwrap().as_ptr(),
[INFO] [stdout]      |                         ------------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1734:91
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stdout]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1849:91
[INFO] [stdout]      |
[INFO] [stdout] 1849 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stdout]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 54.92s
[INFO] running `Command { std: "docker" "inspect" "60dd417d8eb472b9ec94a81e2320b9555a5892e8dc03ab321de75cc2d7c2f306", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60dd417d8eb472b9ec94a81e2320b9555a5892e8dc03ab321de75cc2d7c2f306", kill_on_drop: false }`
[INFO] [stdout] 60dd417d8eb472b9ec94a81e2320b9555a5892e8dc03ab321de75cc2d7c2f306
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3f926a4cb2655f38698db0a2950741296c40841abef13ff3c90002ca92d593b
[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" "e3f926a4cb2655f38698db0a2950741296c40841abef13ff3c90002ca92d593b", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling escargot v0.3.1
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling termios v0.3.2
[INFO] [stderr]    Compiling terminal_size v0.1.13
[INFO] [stderr]    Compiling serde_derive v1.0.114
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:776:10
[INFO] [stdout]     |
[INFO] [stdout] 776 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:806:10
[INFO] [stdout]     |
[INFO] [stdout] 806 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lexer::Token`
[INFO] [stdout]     --> src/main.rs:1053:9
[INFO] [stdout]      |
[INFO] [stdout] 1053 |     use crate::lexer::Token;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Identifier`
[INFO] [stdout]     --> src/main.rs:1477:47
[INFO] [stdout]      |
[INFO] [stdout] 1477 |     use crate::ast::{Declaration, Expression, Identifier, Number, Program, Statement};
[INFO] [stdout]      |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => panic!(println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()`
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => panic!("{:?}", println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => std::panic::panic_any(println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                      ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:593:32
[INFO] [stdout]     |
[INFO] [stdout] 593 |                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() 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] 593 -                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stdout] 593 +                 None => panic!("Internal error: cannot find scope with id {}", id),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1565:65
[INFO] [stdout]      |
[INFO] [stdout] 1565 |                         CString::new(id.value.clone()).unwrap().as_ptr(),
[INFO] [stdout]      |                         --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1577:75
[INFO] [stdout]      |
[INFO] [stdout] 1577 |                         CString::new(format!("fn_{}", func.uid)).unwrap().as_ptr(),
[INFO] [stdout]      |                         ------------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1734:91
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stdout]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1849:91
[INFO] [stdout]      |
[INFO] [stdout] 1849 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stdout]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling console v0.11.3
[INFO] [stderr]    Compiling float-cmp v0.8.0
[INFO] [stderr]    Compiling predicates v1.0.5
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling serde_yaml v0.8.13
[INFO] [stderr]    Compiling insta v0.16.1
[INFO] [stderr]    Compiling assert_cmd v0.10.2
[INFO] [stderr]    Compiling compile-to-wasm-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:776:10
[INFO] [stdout]     |
[INFO] [stdout] 776 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:806:10
[INFO] [stdout]     |
[INFO] [stdout] 806 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Identifier`
[INFO] [stdout]     --> src/main.rs:1477:47
[INFO] [stdout]      |
[INFO] [stdout] 1477 |     use crate::ast::{Declaration, Expression, Identifier, Number, Program, Statement};
[INFO] [stdout]      |                                               ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => panic!(println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()`
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => panic!("{:?}", println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 _ => std::panic::panic_any(println!("Internal error: cannot create token for {}", c)),
[INFO] [stdout]     |                      ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:246:36
[INFO] [stdout]     |
[INFO] [stdout] 246 |             Err(failure) => panic!(failure.message()),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 246 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stdout]     |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:265:36
[INFO] [stdout]     |
[INFO] [stdout] 265 |             Err(failure) => panic!(failure.message()),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 265 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stdout]     |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:284:36
[INFO] [stdout]     |
[INFO] [stdout] 284 |             Err(failure) => panic!(failure.message()),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 284 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stdout]     |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:314:36
[INFO] [stdout]     |
[INFO] [stdout] 314 |             Err(failure) => panic!(failure.message()),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 314 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stdout]     |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:593:32
[INFO] [stdout]     |
[INFO] [stdout] 593 |                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() 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] 593 -                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stdout] 593 +                 None => panic!("Internal error: cannot find scope with id {}", id),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:980:36
[INFO] [stdout]     |
[INFO] [stdout] 980 |             Err(failure) => panic!(failure.message()),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 980 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stdout]     |                                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1565:65
[INFO] [stdout]      |
[INFO] [stdout] 1565 |                         CString::new(id.value.clone()).unwrap().as_ptr(),
[INFO] [stdout]      |                         --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1577:75
[INFO] [stdout]      |
[INFO] [stdout] 1577 |                         CString::new(format!("fn_{}", func.uid)).unwrap().as_ptr(),
[INFO] [stdout]      |                         ------------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1734:91
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stdout]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]     --> src/main.rs:1849:91
[INFO] [stdout]      |
[INFO] [stdout] 1849 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stdout]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]      |
[INFO] [stdout]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 42.20s
[INFO] running `Command { std: "docker" "inspect" "e3f926a4cb2655f38698db0a2950741296c40841abef13ff3c90002ca92d593b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3f926a4cb2655f38698db0a2950741296c40841abef13ff3c90002ca92d593b", kill_on_drop: false }`
[INFO] [stdout] e3f926a4cb2655f38698db0a2950741296c40841abef13ff3c90002ca92d593b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-07-16" "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] 4a4b06109c61612bbe5f492fa429b14489a347dfd4a0c2407330608ac006e989
[INFO] running `Command { std: "docker" "start" "-a" "4a4b06109c61612bbe5f492fa429b14489a347dfd4a0c2407330608ac006e989", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/main.rs:776:10
[INFO] [stderr]     |
[INFO] [stderr] 776 |         };
[INFO] [stderr]     |          ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/main.rs:806:10
[INFO] [stderr]     |
[INFO] [stderr] 806 |         };
[INFO] [stderr]     |          ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::lexer::Token`
[INFO] [stderr]     --> src/main.rs:1053:9
[INFO] [stderr]      |
[INFO] [stderr] 1053 |     use crate::lexer::Token;
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Identifier`
[INFO] [stderr]     --> src/main.rs:1477:47
[INFO] [stderr]      |
[INFO] [stderr] 1477 |     use crate::ast::{Declaration, Expression, Identifier, Number, Program, Statement};
[INFO] [stderr]      |                                               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:113:29
[INFO] [stderr]     |
[INFO] [stderr] 113 |                 _ => panic!(println!("Internal error: cannot create token for {}", c)),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `()`
[INFO] [stderr]     |
[INFO] [stderr] 113 |                 _ => panic!("{:?}", println!("Internal error: cannot create token for {}", c)),
[INFO] [stderr]     |                             +++++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 113 |                 _ => std::panic::panic_any(println!("Internal error: cannot create token for {}", c)),
[INFO] [stderr]     |                      ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:593:32
[INFO] [stderr]     |
[INFO] [stderr] 593 |                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the panic!() 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] 593 -                 None => panic!(format!("Internal error: cannot find scope with id {}", id)),
[INFO] [stderr] 593 +                 None => panic!("Internal error: cannot find scope with id {}", id),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]     --> src/main.rs:1565:65
[INFO] [stderr]      |
[INFO] [stderr] 1565 |                         CString::new(id.value.clone()).unwrap().as_ptr(),
[INFO] [stderr]      |                         --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]      |                         |
[INFO] [stderr]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]     --> src/main.rs:1577:75
[INFO] [stderr]      |
[INFO] [stderr] 1577 |                         CString::new(format!("fn_{}", func.uid)).unwrap().as_ptr(),
[INFO] [stderr]      |                         ------------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]      |                         |
[INFO] [stderr]      |                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]      |
[INFO] [stderr]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]     --> src/main.rs:1734:91
[INFO] [stderr]      |
[INFO] [stderr] 1734 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stderr]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]      |                                          |
[INFO] [stderr]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]      |
[INFO] [stderr]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]     --> src/main.rs:1849:91
[INFO] [stderr]      |
[INFO] [stderr] 1849 |                 LLVMModuleCreateWithName(CString::new(file_name).expect("CString failed").as_ptr());
[INFO] [stderr]      |                                          ------------------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]      |                                          |
[INFO] [stderr]      |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]      |
[INFO] [stderr]      = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]      = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Identifier`
[INFO] [stderr]     --> src/main.rs:1477:47
[INFO] [stderr]      |
[INFO] [stderr] 1477 |     use crate::ast::{Declaration, Expression, Identifier, Number, Program, Statement};
[INFO] [stderr]      |                                               ^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:246:36
[INFO] [stderr]     |
[INFO] [stderr] 246 |             Err(failure) => panic!(failure.message()),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 246 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stderr]     |                                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:265:36
[INFO] [stderr]     |
[INFO] [stderr] 265 |             Err(failure) => panic!(failure.message()),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 265 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stderr]     |                                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:284:36
[INFO] [stderr]     |
[INFO] [stderr] 284 |             Err(failure) => panic!(failure.message()),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 284 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stderr]     |                                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:314:36
[INFO] [stderr]     |
[INFO] [stderr] 314 |             Err(failure) => panic!(failure.message()),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 314 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stderr]     |                                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:980:36
[INFO] [stderr]     |
[INFO] [stderr] 980 |             Err(failure) => panic!(failure.message()),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 980 |             Err(failure) => panic!("{}", failure.message()),
[INFO] [stderr]     |                                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: `compile-to-wasm-rust` (bin "compile-to-wasm-rust") generated 10 warnings
[INFO] [stderr] warning: `compile-to-wasm-rust` (bin "compile-to-wasm-rust" test) generated 14 warnings (8 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/compile_to_wasm_rust-285aae99d8ba95f2)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test lexer::it_errors_on_unexpected_token ... ok
[INFO] [stdout] test lexer::it_lexs_characters ... ok
[INFO] [stdout] test lexer::it_lexs_statement ... ok
[INFO] [stdout] test typecheck::it_substitutes_function_return ... ok
[INFO] [stdout] test typecheck::it_solves_substitutions_in_any_order ... ok
[INFO] [stdout] test typecheck::it_solves_substitutions ... ok
[INFO] [stdout] test typecheck::it_skips_duplicate_substitutions ... ok
[INFO] [stdout] test lexer::it_lexs_many_numbers ... ok
[INFO] [stdout] test lexer::it_lexs_number ... ok
[INFO] [stdout] test typecheck::it_solves_void_substitutions ... ok
[INFO] [stdout] test parser::it_parses_tokens ... ok
[INFO] [stdout] test typecheck::it_typechecks_declaration ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-6338b5f1ded3b7f2)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test global_declarations has been running for over 60 seconds
[INFO] [stdout] test global_declarations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 80.33s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4a4b06109c61612bbe5f492fa429b14489a347dfd4a0c2407330608ac006e989", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a4b06109c61612bbe5f492fa429b14489a347dfd4a0c2407330608ac006e989", kill_on_drop: false }`
[INFO] [stdout] 4a4b06109c61612bbe5f492fa429b14489a347dfd4a0c2407330608ac006e989
