[INFO] cloning repository https://github.com/pymainprocess/anyscript-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pymainprocess/anyscript-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpymainprocess%2Fanyscript-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpymainprocess%2Fanyscript-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ba6b07f2d534edb408f7090790ce6f9ab69a5ff [INFO] testing pymainprocess/anyscript-compiler/3ba6b07f2d534edb408f7090790ce6f9ab69a5ff against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpymainprocess%2Fanyscript-compiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pymainprocess/anyscript-compiler [INFO] finished tweaking git repo https://github.com/pymainprocess/anyscript-compiler [INFO] tweaked toml for git repo https://github.com/pymainprocess/anyscript-compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pymainprocess/anyscript-compiler on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pymainprocess/anyscript-compiler 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v6.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d3cd598727dc8b6a3ed2c57b6e464efc81d382ae1e98b71bd785067eeee6101 [INFO] running `Command { std: "docker" "start" "-a" "8d3cd598727dc8b6a3ed2c57b6e464efc81d382ae1e98b71bd785067eeee6101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d3cd598727dc8b6a3ed2c57b6e464efc81d382ae1e98b71bd785067eeee6101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3cd598727dc8b6a3ed2c57b6e464efc81d382ae1e98b71bd785067eeee6101", kill_on_drop: false }` [INFO] [stdout] 8d3cd598727dc8b6a3ed2c57b6e464efc81d382ae1e98b71bd785067eeee6101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bea44b7a61f7b1a383f3556a1a7b1fdf70aef1cbb48f9e4984953f928b201bc [INFO] running `Command { std: "docker" "start" "-a" "3bea44b7a61f7b1a383f3556a1a7b1fdf70aef1cbb48f9e4984953f928b201bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.20 [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 lazycell v1.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling shlex v1.3.0 [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 25.93s [INFO] running `Command { std: "docker" "inspect" "3bea44b7a61f7b1a383f3556a1a7b1fdf70aef1cbb48f9e4984953f928b201bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bea44b7a61f7b1a383f3556a1a7b1fdf70aef1cbb48f9e4984953f928b201bc", kill_on_drop: false }` [INFO] [stdout] 3bea44b7a61f7b1a383f3556a1a7b1fdf70aef1cbb48f9e4984953f928b201bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f151c318224d43718830a15149fa7c6de403ad4fd170bce3c807d59795ee3b [INFO] running `Command { std: "docker" "start" "-a" "f6f151c318224d43718830a15149fa7c6de403ad4fd170bce3c807d59795ee3b", 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.70s [INFO] running `Command { std: "docker" "inspect" "f6f151c318224d43718830a15149fa7c6de403ad4fd170bce3c807d59795ee3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f151c318224d43718830a15149fa7c6de403ad4fd170bce3c807d59795ee3b", kill_on_drop: false }` [INFO] [stdout] f6f151c318224d43718830a15149fa7c6de403ad4fd170bce3c807d59795ee3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb4796e12cb2c5725cbfde621c3aa1a0ce8edcc39ac22b755d2706f3c5179379 [INFO] running `Command { std: "docker" "start" "-a" "cb4796e12cb2c5725cbfde621c3aa1a0ce8edcc39ac22b755d2706f3c5179379", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anyscript_compiler-f4fac33a45888561) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/anyscript_compiler-ad4b39a43377a25b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests anyscript_compiler [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/types/int.rs - types::int::Int::reset (line 52) ... FAILED [INFO] [stdout] test src/types/int.rs - types::int::Int::to_float (line 149) ... FAILED [INFO] [stdout] test src/types/int.rs - types::int::Int::to_cstring (line 181) ... FAILED [INFO] [stdout] test src/types/int.rs - types::int::Int::to_str (line 170) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::to_str (line 170) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::to_cstring (line 181) ... FAILED [INFO] [stdout] test src/types/int.rs - types::int::Int::new (line 27) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::to_int (line 149) ... FAILED [INFO] [stdout] test src/types/int.rs - types::int::Int::from_string (line 196) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::from_string (line 196) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::reset (line 52) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::new (line 27) ... FAILED [INFO] [stdout] test src/types/float.rs - types::float::Float::validate (line 71) ... FAILED [INFO] [stdout] test src/types/int.rs - types::int::Int::validate (line 71) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/types/int.rs - types::int::Int::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] 53 | 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]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | 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::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] 150 | pub fn to_float(&mut self, bit32: Option) { [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[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:153:49 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 149 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | 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] 149 + 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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/int.rs - types::int::Int::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] 182 | 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[E0425]: cannot find type `CString` in this scope [INFO] [stdout] --> src/types/int.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn to_cstring(&self) -> CString { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/string.rs:353:0 [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] 182 - pub fn to_cstring(&self) -> CString { [INFO] [stdout] 182 + pub fn to_cstring(&self) -> String { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 181 + use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CString` in this scope [INFO] [stdout] --> src/types/int.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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] 184 - let _cstr = CString::new(_nstring).unwrap(); [INFO] [stdout] 184 + let _cstr = String::new(_nstring).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 181 + 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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/int.rs - types::int::Int::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] 171 | 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::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] 171 | 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::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] 182 | 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[E0425]: cannot find type `CString` in this scope [INFO] [stdout] --> src/types/float.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn to_cstring(&self) -> CString { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/string.rs:353:0 [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] 182 - pub fn to_cstring(&self) -> CString { [INFO] [stdout] 182 + pub fn to_cstring(&self) -> String { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 181 + use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CString` in this scope [INFO] [stdout] --> src/types/float.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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] 184 - let _cstr = CString::new(_nstring).unwrap(); [INFO] [stdout] 184 + let _cstr = String::new(_nstring).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 181 + 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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/int.rs - types::int::Int::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] 28 | 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] 30 | Int { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use std::mem::type_info::Int; [INFO] [stdout] | [INFO] [stdout] 27 + use std::mem::type_info::TypeKind::Int; [INFO] [stdout] | [INFO] [stdout] 27 + use anyscript_compiler::parser::Int; [INFO] [stdout] | [INFO] [stdout] 27 + use bindgen::callbacks::IntKind::Int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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::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] 150 | pub fn to_int(&mut self, bit32: Option) { [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[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:153:49 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 149 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | 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] 149 + 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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/int.rs - types::int::Int::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] 197 | pub fn from_string(s: &str) -> Result::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] 197 | pub fn from_string(s: &str) -> Result::Err> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 196 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:197:46 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn from_string(s: &str) -> Result::Err> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 196 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | let integral = s.parse::()?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 196 + 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] 199 | Ok(Int { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 196 + use std::mem::type_info::Int; [INFO] [stdout] | [INFO] [stdout] 196 + use std::mem::type_info::TypeKind::Int; [INFO] [stdout] | [INFO] [stdout] 196 + use anyscript_compiler::parser::Int; [INFO] [stdout] | [INFO] [stdout] 196 + use bindgen::callbacks::IntKind::Int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | 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, E0422, E0425, 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::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] 197 | pub fn from_string(s: &str) -> Result::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] 197 | pub fn from_string(s: &str) -> Result::Err> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 196 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:197:46 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn from_string(s: &str) -> Result::Err> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 196 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | let floating = s.parse::()?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 196 + 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] 199 | Ok(Float { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 196 + use std::mem::type_info::Float; [INFO] [stdout] | [INFO] [stdout] 196 + use std::mem::type_info::TypeKind::Float; [INFO] [stdout] | [INFO] [stdout] 196 + use anyscript_compiler::parser::Float; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | 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, E0422, E0425, 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::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] 53 | 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]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | 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::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] 28 | 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] 30 | Float { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use std::mem::type_info::Float; [INFO] [stdout] | [INFO] [stdout] 27 + use std::mem::type_info::TypeKind::Float; [INFO] [stdout] | [INFO] [stdout] 27 + use anyscript_compiler::parser::Float; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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::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] 72 | 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]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/float.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UIntAlias` in this scope [INFO] [stdout] --> src/types/float.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::UIntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:79:61 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:79:74 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:79:83 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | if value.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/float.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | } else if value.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UIntAlias` in this scope [INFO] [stdout] --> src/types/float.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | } else if value.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::UIntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CString` in this scope [INFO] [stdout] --> src/types/float.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/string.rs:353:0 [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] 90 - } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] 90 + } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/float.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | if c_str.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/float.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | } else if c_str.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UIntAlias` in this scope [INFO] [stdout] --> src/types/float.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | } else if c_str.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::UIntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/float.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `List` in this scope [INFO] [stdout] --> src/types/float.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `List` in this scope [INFO] [stdout] --> src/types/float.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let _raw: List = 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] 71 + use anyscript_compiler::parser::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/float.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let _raw: List = 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] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `List` in this scope [INFO] [stdout] --> src/types/float.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let _raw: List = 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] 71 + 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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/int.rs - types::int::Int::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] 72 | 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]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/int.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UIntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::UIntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:79:61 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:79:74 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:79:83 [INFO] [stdout] | [INFO] [stdout] 79 | } else if TypeId::of::() == TypeId::of::<&str>() || TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | if value.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/int.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | } else if value.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UIntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | } else if value.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::UIntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CString` in this scope [INFO] [stdout] --> src/types/int.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/string.rs:353:0 [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] 90 - } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] 90 + } else if TypeId::of::() == TypeId::of::() { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | if c_str.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::IntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FloatAlias` in this scope [INFO] [stdout] --> src/types/int.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | } else if c_str.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::FloatAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UIntAlias` in this scope [INFO] [stdout] --> src/types/int.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | } else if c_str.parse::().is_ok() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::UIntAlias; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TypeId` in this scope [INFO] [stdout] --> src/types/int.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^^^^^ use of undeclared type `TypeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `List` in this scope [INFO] [stdout] --> src/types/int.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 + use anyscript_compiler::parser::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | } else if TypeId::of::() == TypeId::of::>() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `List` in this scope [INFO] [stdout] --> src/types/int.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let _raw: List = 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] 71 + use anyscript_compiler::parser::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T1` in this scope [INFO] [stdout] --> src/types/int.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let _raw: List = 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] 72 | pub fn validate(&self) -> (bool, String) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `List` in this scope [INFO] [stdout] --> src/types/int.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let _raw: List = 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] 71 + 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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/types/float.rs - types::float::Float::from_string (line 196) [INFO] [stdout] src/types/float.rs - types::float::Float::new (line 27) [INFO] [stdout] src/types/float.rs - types::float::Float::reset (line 52) [INFO] [stdout] src/types/float.rs - types::float::Float::to_cstring (line 181) [INFO] [stdout] src/types/float.rs - types::float::Float::to_int (line 149) [INFO] [stdout] src/types/float.rs - types::float::Float::to_str (line 170) [INFO] [stdout] src/types/float.rs - types::float::Float::validate (line 71) [INFO] [stdout] src/types/int.rs - types::int::Int::from_string (line 196) [INFO] [stdout] src/types/int.rs - types::int::Int::new (line 27) [INFO] [stdout] src/types/int.rs - types::int::Int::reset (line 52) [INFO] [stdout] src/types/int.rs - types::int::Int::to_cstring (line 181) [INFO] [stdout] src/types/int.rs - types::int::Int::to_float (line 149) [INFO] [stdout] src/types/int.rs - types::int::Int::to_str (line 170) [INFO] [stdout] src/types/int.rs - types::int::Int::validate (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cb4796e12cb2c5725cbfde621c3aa1a0ce8edcc39ac22b755d2706f3c5179379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4796e12cb2c5725cbfde621c3aa1a0ce8edcc39ac22b755d2706f3c5179379", kill_on_drop: false }` [INFO] [stdout] cb4796e12cb2c5725cbfde621c3aa1a0ce8edcc39ac22b755d2706f3c5179379