[INFO] fetching crate anyscript-compiler 0.1.3...
[INFO] testing anyscript-compiler-0.1.3 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] extracting crate anyscript-compiler 0.1.3 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate anyscript-compiler 0.1.3
[INFO] finished tweaking crates.io crate anyscript-compiler 0.1.3
[INFO] tweaked toml for crates.io crate anyscript-compiler 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate anyscript-compiler 0.1.3 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate anyscript-compiler 0.1.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51bae97ebcbb5e0d429f414e9e3e27512ab3be3c7797ab016a7262c3838a4e68
[INFO] running `Command { std: "docker" "start" "-a" "51bae97ebcbb5e0d429f414e9e3e27512ab3be3c7797ab016a7262c3838a4e68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51bae97ebcbb5e0d429f414e9e3e27512ab3be3c7797ab016a7262c3838a4e68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51bae97ebcbb5e0d429f414e9e3e27512ab3be3c7797ab016a7262c3838a4e68", kill_on_drop: false }`
[INFO] [stdout] 51bae97ebcbb5e0d429f414e9e3e27512ab3be3c7797ab016a7262c3838a4e68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7210cfc1b7945910fdf6e05d177af90aeeb9a00ebd82fdb77deed21ebc1ba83
[INFO] running `Command { std: "docker" "start" "-a" "f7210cfc1b7945910fdf6e05d177af90aeeb9a00ebd82fdb77deed21ebc1ba83", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling libloading v0.8.4
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling which v6.0.1
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling anyscript-compiler v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.49s
[INFO] running `Command { std: "docker" "inspect" "f7210cfc1b7945910fdf6e05d177af90aeeb9a00ebd82fdb77deed21ebc1ba83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7210cfc1b7945910fdf6e05d177af90aeeb9a00ebd82fdb77deed21ebc1ba83", kill_on_drop: false }`
[INFO] [stdout] f7210cfc1b7945910fdf6e05d177af90aeeb9a00ebd82fdb77deed21ebc1ba83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ca8869dbf54e919bda087ef68023e6434e73ad051d06fd8fd9e072676ce5d44
[INFO] running `Command { std: "docker" "start" "-a" "8ca8869dbf54e919bda087ef68023e6434e73ad051d06fd8fd9e072676ce5d44", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyscript-compiler v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "8ca8869dbf54e919bda087ef68023e6434e73ad051d06fd8fd9e072676ce5d44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ca8869dbf54e919bda087ef68023e6434e73ad051d06fd8fd9e072676ce5d44", kill_on_drop: false }`
[INFO] [stdout] 8ca8869dbf54e919bda087ef68023e6434e73ad051d06fd8fd9e072676ce5d44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 607b26a0cdd7a5d363d07787fa7d7cda140abe1942008964b0592b68e9028829
[INFO] running `Command { std: "docker" "start" "-a" "607b26a0cdd7a5d363d07787fa7d7cda140abe1942008964b0592b68e9028829", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anyscript_compiler-5403cf2ae5a26c0a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/anyscript_compiler-de268d3f6de20cae)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests anyscript_compiler
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::new (line 27) ... FAILED
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::to_str (line 170) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::from_string (line 196) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::to_cstring (line 181) ... FAILED
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::validate (line 71) ... FAILED
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::to_cstring (line 181) ... FAILED
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::reset (line 52) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::new (line 27) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::to_str (line 170) ... FAILED
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::to_float (line 149) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::reset (line 52) ... FAILED
[INFO] [stdout] test src/types/int.rs - types::int::Int<T1>::from_string (line 196) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::to_int (line 149) ... FAILED
[INFO] [stdout] test src/types/float.rs - types::float::Float<T1>::validate (line 71) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::new (line 27) stdout ----
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]  --> src/types/int.rs:28:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn new() -> Self {
[INFO] [stdout]   |        ---      ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   |        |
[INFO] [stdout]   |        `Self` not allowed in a function
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Int` in this scope
[INFO] [stdout]  --> src/types/int.rs:30:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Int {
[INFO] [stdout]   |     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::Int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bindgen::callbacks::IntKind::Int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T1`
[INFO] [stdout]  --> src/types/int.rs:29:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let n = T1::default();
[INFO] [stdout]   |             ^^ use of undeclared type `T1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0411, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0411`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::to_str (line 170) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/int.rs:171:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_str(&self) -> String {
[INFO] [stdout]   |               ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::from_string (line 196) stdout ----
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]  --> src/types/float.rs:197:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_string(s: &str) -> Result<Self, <FloatAlias as FromStr>::Err> {
[INFO] [stdout]   |        -----------                    ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   |        |
[INFO] [stdout]   |        `Self` not allowed in a function
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FromStr` in this scope
[INFO] [stdout]  --> src/types/float.rs:197:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_string(s: &str) -> Result<Self, <FloatAlias as FromStr>::Err> {
[INFO] [stdout]   |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::str::FromStr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:197:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_string(s: &str) -> Result<Self, <FloatAlias as FromStr>::Err> {
[INFO] [stdout]   |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:198:30
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let floating = s.parse::<FloatAlias>()?;
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Float` in this scope
[INFO] [stdout]  --> src/types/float.rs:199:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Ok(Float {
[INFO] [stdout]   |        ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::Float;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T1`
[INFO] [stdout]  --> src/types/float.rs:202:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |         original: T1::default(),
[INFO] [stdout]   |                   ^^ use of undeclared type `T1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0411, E0412, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::to_cstring (line 181) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/float.rs:182:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_cstring(&self) -> CString {
[INFO] [stdout]   |                   ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CString` in this scope
[INFO] [stdout]  --> src/types/float.rs:182:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_cstring(&self) -> CString {
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/string.rs:360:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub fn to_cstring(&self) -> CString {
[INFO] [stdout] 3 + pub fn to_cstring(&self) -> String {
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::CString;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString`
[INFO] [stdout]  --> src/types/float.rs:184:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let _cstr = CString::new(_nstring).unwrap();
[INFO] [stdout]   |                 ^^^^^^^ use of undeclared type `CString`
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 5 -     let _cstr = CString::new(_nstring).unwrap();
[INFO] [stdout] 5 +     let _cstr = String::new(_nstring).unwrap();
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::CString;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::validate (line 71) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/int.rs:72:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate(&self) -> (bool, String) {
[INFO] [stdout]   |                 ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/int.rs:73:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |        ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]  --> src/types/int.rs:73:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |                     ^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/int.rs:73:30
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |                              ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:73:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/int.rs:75:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]  --> src/types/int.rs:75:28
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |                            ^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/int.rs:75:37
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:75:50
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/int.rs:77:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]  --> src/types/int.rs:77:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |                            ^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/int.rs:77:37
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UIntAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:77:50
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::UIntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/int.rs:79:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:79:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:79:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                                             ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/int.rs:79:74
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                                                          ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:79:83
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                                                                   ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]   --> src/types/int.rs:81:26
[INFO] [stdout]    |
[INFO] [stdout] 12 |         if value.parse::<IntAlias>().is_ok() {
[INFO] [stdout]    |                          ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]   --> src/types/int.rs:83:33
[INFO] [stdout]    |
[INFO] [stdout] 14 |         } else if value.parse::<FloatAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UIntAlias` in this scope
[INFO] [stdout]   --> src/types/int.rs:85:33
[INFO] [stdout]    |
[INFO] [stdout] 16 |         } else if value.parse::<UIntAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::UIntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/int.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:90:37
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CString` in this scope
[INFO] [stdout]   --> src/types/int.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/string.rs:360:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 -     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout] 21 +     } else if TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ffi::CString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]   --> src/types/int.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |         if c_str.parse::<IntAlias>().is_ok() {
[INFO] [stdout]    |                          ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]   --> src/types/int.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 25 |         } else if c_str.parse::<FloatAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UIntAlias` in this scope
[INFO] [stdout]   --> src/types/int.rs:96:33
[INFO] [stdout]    |
[INFO] [stdout] 27 |         } else if c_str.parse::<UIntAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::UIntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:101:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/int.rs:101:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/int.rs:101:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `List` in this scope
[INFO] [stdout]   --> src/types/int.rs:101:50
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::List;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/int.rs:101:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                                                       ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `List` in this scope
[INFO] [stdout]   --> src/types/int.rs:102:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _raw: List<T1> = List::new(); // Explicit type annotation
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::List;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/int.rs:102:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _raw: List<T1> = List::new(); // Explicit type annotation
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List`
[INFO] [stdout]   --> src/types/int.rs:102:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _raw: List<T1> = List::new(); // Explicit type annotation
[INFO] [stdout]    |                              ^^^^ use of undeclared type `List`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::List;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::to_cstring (line 181) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/int.rs:182:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_cstring(&self) -> CString {
[INFO] [stdout]   |                   ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CString` in this scope
[INFO] [stdout]  --> src/types/int.rs:182:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_cstring(&self) -> CString {
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/string.rs:360:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub fn to_cstring(&self) -> CString {
[INFO] [stdout] 3 + pub fn to_cstring(&self) -> String {
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::CString;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString`
[INFO] [stdout]  --> src/types/int.rs:184:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let _cstr = CString::new(_nstring).unwrap();
[INFO] [stdout]   |                 ^^^^^^^ use of undeclared type `CString`
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 5 -     let _cstr = CString::new(_nstring).unwrap();
[INFO] [stdout] 5 +     let _cstr = String::new(_nstring).unwrap();
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::CString;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::reset (line 52) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/int.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn reset(&mut self) {
[INFO] [stdout]   |              ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T1`
[INFO] [stdout]  --> src/types/int.rs:57:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     self.original = T1::default();
[INFO] [stdout]   |                     ^^ use of undeclared type `T1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::new (line 27) stdout ----
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]  --> src/types/float.rs:28:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn new() -> Self {
[INFO] [stdout]   |        ---      ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   |        |
[INFO] [stdout]   |        `Self` not allowed in a function
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Float` in this scope
[INFO] [stdout]  --> src/types/float.rs:30:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Float {
[INFO] [stdout]   |     ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::Float;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T1`
[INFO] [stdout]  --> src/types/float.rs:29:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let n = T1::default();
[INFO] [stdout]   |             ^^ use of undeclared type `T1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0411, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0411`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::to_str (line 170) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/float.rs:171:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_str(&self) -> String {
[INFO] [stdout]   |               ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::to_float (line 149) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/int.rs:150:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_float(&mut self, bit32: Option<bool>) {
[INFO] [stdout]   |                 ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:153:49
[INFO] [stdout]   |
[INFO] [stdout] 6 |         self.integral = self.integral as f32 as IntAlias;
[INFO] [stdout]   |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:155:49
[INFO] [stdout]   |
[INFO] [stdout] 8 |         self.integral = self.integral as f64 as IntAlias;
[INFO] [stdout]   |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::reset (line 52) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/float.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn reset(&mut self) {
[INFO] [stdout]   |              ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T1`
[INFO] [stdout]  --> src/types/float.rs:57:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     self.original = T1::default();
[INFO] [stdout]   |                     ^^ use of undeclared type `T1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/int.rs - types::int::Int<T1>::from_string (line 196) stdout ----
[INFO] [stdout] error[E0411]: cannot find type `Self` in this scope
[INFO] [stdout]  --> src/types/int.rs:197:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_string(s: &str) -> Result<Self, <IntAlias as FromStr>::Err> {
[INFO] [stdout]   |        -----------                    ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   |        |
[INFO] [stdout]   |        `Self` not allowed in a function
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FromStr` in this scope
[INFO] [stdout]  --> src/types/int.rs:197:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_string(s: &str) -> Result<Self, <IntAlias as FromStr>::Err> {
[INFO] [stdout]   |                                                          ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::str::FromStr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:197:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_string(s: &str) -> Result<Self, <IntAlias as FromStr>::Err> {
[INFO] [stdout]   |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]  --> src/types/int.rs:198:30
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let integral = s.parse::<IntAlias>()?;
[INFO] [stdout]   |                              ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Int` in this scope
[INFO] [stdout]  --> src/types/int.rs:199:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Ok(Int {
[INFO] [stdout]   |        ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::Int;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bindgen::callbacks::IntKind::Int;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T1`
[INFO] [stdout]  --> src/types/int.rs:202:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |         original: T1::default(),
[INFO] [stdout]   |                   ^^ use of undeclared type `T1`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0411, E0412, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::to_int (line 149) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/float.rs:150:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_int(&mut self, bit32: Option<bool>) {
[INFO] [stdout]   |               ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:153:49
[INFO] [stdout]   |
[INFO] [stdout] 6 |         self.floating = self.floating as f32 as FloatAlias;
[INFO] [stdout]   |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:155:49
[INFO] [stdout]   |
[INFO] [stdout] 8 |         self.floating = self.floating as f64 as FloatAlias;
[INFO] [stdout]   |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/types/float.rs - types::float::Float<T1>::validate (line 71) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/types/float.rs:72:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate(&self) -> (bool, String) {
[INFO] [stdout]   |                 ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/float.rs:73:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |        ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]  --> src/types/float.rs:73:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |                     ^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/float.rs:73:30
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |                              ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:73:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if TypeId::of::<T1>() == TypeId::of::<FloatAlias>() {
[INFO] [stdout]   |                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/float.rs:75:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]  --> src/types/float.rs:75:28
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |                            ^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/float.rs:75:37
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:75:50
[INFO] [stdout]   |
[INFO] [stdout] 6 |     } else if TypeId::of::<T1>() == TypeId::of::<IntAlias>() {
[INFO] [stdout]   |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/float.rs:77:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]  --> src/types/float.rs:77:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |                            ^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]  --> src/types/float.rs:77:37
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::TypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UIntAlias` in this scope
[INFO] [stdout]  --> src/types/float.rs:77:50
[INFO] [stdout]   |
[INFO] [stdout] 8 |     } else if TypeId::of::<T1>() == TypeId::of::<UIntAlias>() {
[INFO] [stdout]   |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use anyscript_compiler::parser::UIntAlias;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/float.rs:79:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:79:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:79:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                                             ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/float.rs:79:74
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                                                          ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:79:83
[INFO] [stdout]    |
[INFO] [stdout] 10 |     } else if TypeId::of::<T1>() == TypeId::of::<&str>() || TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |                                                                                   ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]   --> src/types/float.rs:81:26
[INFO] [stdout]    |
[INFO] [stdout] 12 |         if value.parse::<FloatAlias>().is_ok() {
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]   --> src/types/float.rs:83:33
[INFO] [stdout]    |
[INFO] [stdout] 14 |         } else if value.parse::<IntAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UIntAlias` in this scope
[INFO] [stdout]   --> src/types/float.rs:85:33
[INFO] [stdout]    |
[INFO] [stdout] 16 |         } else if value.parse::<UIntAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::UIntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/float.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:90:37
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CString` in this scope
[INFO] [stdout]   --> src/types/float.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 21 |     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/string.rs:360:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 -     } else if TypeId::of::<T1>() == TypeId::of::<CString>() {
[INFO] [stdout] 21 +     } else if TypeId::of::<T1>() == TypeId::of::<String>() {
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ffi::CString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FloatAlias` in this scope
[INFO] [stdout]   --> src/types/float.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |         if c_str.parse::<FloatAlias>().is_ok() {
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::FloatAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntAlias` in this scope
[INFO] [stdout]   --> src/types/float.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 25 |         } else if c_str.parse::<IntAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::IntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UIntAlias` in this scope
[INFO] [stdout]   --> src/types/float.rs:96:33
[INFO] [stdout]    |
[INFO] [stdout] 27 |         } else if c_str.parse::<UIntAlias>().is_ok() {
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::UIntAlias;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:101:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/float.rs:101:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeId`
[INFO] [stdout]   --> src/types/float.rs:101:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared type `TypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::any::TypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `List` in this scope
[INFO] [stdout]   --> src/types/float.rs:101:50
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::List;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/float.rs:101:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |     } else if TypeId::of::<T1>() == TypeId::of::<List<T1>>() {
[INFO] [stdout]    |                                                       ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `List` in this scope
[INFO] [stdout]   --> src/types/float.rs:102:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _raw: List<T1> = List::new(); // Explicit type annotation
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::List;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T1` in this scope
[INFO] [stdout]   --> src/types/float.rs:102:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _raw: List<T1> = List::new(); // Explicit type annotation
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn validate<T1>(&self) -> (bool, String) {
[INFO] [stdout]    |                ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List`
[INFO] [stdout]   --> src/types/float.rs:102:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _raw: List<T1> = List::new(); // Explicit type annotation
[INFO] [stdout]    |                              ^^^^ use of undeclared type `List`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use anyscript_compiler::parser::List;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::from_string (line 196)
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::new (line 27)
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::reset (line 52)
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::to_cstring (line 181)
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::to_int (line 149)
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::to_str (line 170)
[INFO] [stdout]     src/types/float.rs - types::float::Float<T1>::validate (line 71)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::from_string (line 196)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::new (line 27)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::reset (line 52)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::to_cstring (line 181)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::to_float (line 149)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::to_str (line 170)
[INFO] [stdout]     src/types/int.rs - types::int::Int<T1>::validate (line 71)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "607b26a0cdd7a5d363d07787fa7d7cda140abe1942008964b0592b68e9028829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "607b26a0cdd7a5d363d07787fa7d7cda140abe1942008964b0592b68e9028829", kill_on_drop: false }`
[INFO] [stdout] 607b26a0cdd7a5d363d07787fa7d7cda140abe1942008964b0592b68e9028829
