[INFO] fetching crate asn1obj_codegen 0.1.10... [INFO] testing asn1obj_codegen-0.1.10 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate asn1obj_codegen 0.1.10 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate asn1obj_codegen 0.1.10 [INFO] finished tweaking crates.io crate asn1obj_codegen 0.1.10 [INFO] tweaked toml for crates.io crate asn1obj_codegen 0.1.10 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate asn1obj_codegen 0.1.10 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate asn1obj_codegen 0.1.10 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 587bdf12e5b7a04624e5a9e210c9973b8ff8f401a3984f39e3195e981ccc6f64 [INFO] running `Command { std: "docker" "start" "-a" "587bdf12e5b7a04624e5a9e210c9973b8ff8f401a3984f39e3195e981ccc6f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "587bdf12e5b7a04624e5a9e210c9973b8ff8f401a3984f39e3195e981ccc6f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587bdf12e5b7a04624e5a9e210c9973b8ff8f401a3984f39e3195e981ccc6f64", kill_on_drop: false }` [INFO] [stdout] 587bdf12e5b7a04624e5a9e210c9973b8ff8f401a3984f39e3195e981ccc6f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11f8d894dc4758a66f8743e6acae31d05c45affb42ceb6137682c066c6271d69 [INFO] running `Command { std: "docker" "start" "-a" "11f8d894dc4758a66f8743e6acae31d05c45affb42ceb6137682c066c6271d69", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling asn1obj_codegen v0.1.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.83s [INFO] running `Command { std: "docker" "inspect" "11f8d894dc4758a66f8743e6acae31d05c45affb42ceb6137682c066c6271d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f8d894dc4758a66f8743e6acae31d05c45affb42ceb6137682c066c6271d69", kill_on_drop: false }` [INFO] [stdout] 11f8d894dc4758a66f8743e6acae31d05c45affb42ceb6137682c066c6271d69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30d55daa9edb7b7782ffff150610954290852cdd5e2cf3c02b889ab4c2a486b5 [INFO] running `Command { std: "docker" "start" "-a" "30d55daa9edb7b7782ffff150610954290852cdd5e2cf3c02b889ab4c2a486b5", kill_on_drop: false }` [INFO] [stderr] Compiling asn1obj_codegen v0.1.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "30d55daa9edb7b7782ffff150610954290852cdd5e2cf3c02b889ab4c2a486b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d55daa9edb7b7782ffff150610954290852cdd5e2cf3c02b889ab4c2a486b5", kill_on_drop: false }` [INFO] [stdout] 30d55daa9edb7b7782ffff150610954290852cdd5e2cf3c02b889ab4c2a486b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6112d41d1678bbca701de8963ea7007eb6343faacffd8d7c9d51b07fc634986 [INFO] running `Command { std: "docker" "start" "-a" "d6112d41d1678bbca701de8963ea7007eb6343faacffd8d7c9d51b07fc634986", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/asn1obj_codegen-36a3fcc6811b2fa1) [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 asn1obj_codegen [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - asn1_int_choice (line 1002) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_sequence (line 1579) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_choice (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_choice (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_int_choice (line 795) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_sequence (line 1599) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_sequence (line 1435) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_int_choice (line 1032) ... FAILED [INFO] [stdout] test src/lib.rs - asn1_choice (line 261) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - asn1_int_choice (line 1002) stdout ---- [INFO] [stdout] error: cannot find attribute `asn1_int_choice` in this scope [INFO] [stdout] --> src/lib.rs:1022:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[asn1_int_choice(selector=stype,url=0,moniker=1,file=2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_int_choice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_sequence` in this scope [INFO] [stdout] --> src/lib.rs:1016:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_int_choice` in this scope [INFO] [stdout] --> src/lib.rs:1003:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[asn1_int_choice(unicode=0,ascii=1,selector=stype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_int_choice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_gen` in this scope [INFO] [stdout] --> src/lib.rs:1005:4 [INFO] [stdout] | [INFO] [stdout] 5 | #[asn1_gen(initfn=si_default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Imp` in this scope [INFO] [stdout] --> src/lib.rs:1008:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub unicode : Asn1Imp, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1008:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub unicode : Asn1Imp, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SpcString { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Imp` in this scope [INFO] [stdout] --> src/lib.rs:1009:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub ascii : Asn1Imp, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1009:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub ascii : Asn1Imp, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SpcString { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1018:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub classid :Asn1OctData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1019:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub serializeddata : Asn1OctData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:1025:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub url :Asn1ImpSet, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1025:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub url :Asn1ImpSet, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SpcLink { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:1026:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub moniker :Asn1ImpSet, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:1027:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub file :Asn1ImpSet, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 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/lib.rs - asn1_sequence (line 1579) stdout ---- [INFO] [stdout] error: cannot find attribute `asn1_sequence` in this scope [INFO] [stdout] --> src/lib.rs:1592:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_sequence` in this scope [INFO] [stdout] --> src/lib.rs:1580:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_ext` in this scope [INFO] [stdout] --> src/lib.rs:1582:4 [INFO] [stdout] | [INFO] [stdout] 5 | #[asn1_ext(initfn=c_default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_ext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1583:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub c :Asn1BigNum, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1584:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub n :Asn1BigNum, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1585:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub e :Asn1BigNum, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1588:19 [INFO] [stdout] | [INFO] [stdout] 11 | fn c_default() -> Asn1BigNum { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:1594:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub elem :Asn1Seq, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1589:2 [INFO] [stdout] | [INFO] [stdout] 12 | Asn1BigNum::init_asn1() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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/lib.rs - asn1_choice (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 6 | use asn1obj::base::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 7 | use asn1obj::complex::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 8 | use asn1obj::asn1impl::{Asn1Op,Asn1Selector}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 9 | use asn1obj::strop::asn1_format_line; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `asn1obj` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 5 | use asn1obj::{asn1obj_error_class,asn1obj_new_error}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 11 | use num_bigint::{BigUint}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint`, use `cargo add num_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hex::FromHex; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[asn1_obj_selector(selector=val,any=default,rsa="1.2.840.113549.1.1.1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_obj_selector` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[asn1_choice(selector=valid)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Object` in this scope [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[asn1_obj_selector(selector=val,any=default,rsa="1.2.840.113549.1.1.1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_obj_selector` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Any` in this scope [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[asn1_obj_selector(selector=val,any=default,rsa="1.2.840.113549.1.1.1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_obj_selector` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1SeqSelector` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[asn1_choice(selector=valid)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BitSeq` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[asn1_choice(selector=valid)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Any` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[asn1_choice(selector=valid)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Seq` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1Seq` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[asn1_obj_selector(selector=val,any=default,rsa="1.2.840.113549.1.1.1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_obj_selector` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[asn1_choice(selector=valid)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Seq` [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1Seq` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - asn1_choice (line 215) stdout ---- [INFO] [stdout] error: cannot find attribute `asn1_sequence` in this scope [INFO] [stdout] --> src/lib.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_choice` in this scope [INFO] [stdout] --> src/lib.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[asn1_choice(selector=valid)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_choice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_gen` in this scope [INFO] [stdout] --> src/lib.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 30 | #[asn1_gen(initfn=vv_default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_obj_selector` in this scope [INFO] [stdout] --> src/lib.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[asn1_obj_selector(selector=val,any=default,rsa="1.2.840.113549.1.1.1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_obj_selector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_gen` in this scope [INFO] [stdout] --> src/lib.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 18 | #[asn1_gen(initfn=obji_default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_sequence` in this scope [INFO] [stdout] --> src/lib.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asn1_sequence` in this scope [INFO] [stdout] --> src/lib.rs:216:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use asn1obj_codegen::asn1_sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub n :Asn1BigNum, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub e :Asn1BigNum, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub elem :Asn1Seq, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Object` in this scope [INFO] [stdout] --> src/lib.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub val : Asn1Object, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Any` in this scope [INFO] [stdout] --> src/lib.rs:234:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub padded : Asn1Any, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1SeqSelector` in this scope [INFO] [stdout] --> src/lib.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub valid : Asn1SeqSelector, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BitSeq` in this scope [INFO] [stdout] --> src/lib.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub rsa : Asn1BitSeq, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Any` in this scope [INFO] [stdout] --> src/lib.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub any : Asn1Any, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub elem :Asn1Seq, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 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/lib.rs - asn1_int_choice (line 795) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 6 | use asn1obj::base::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 7 | use asn1obj::complex::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 8 | use asn1obj::asn1impl::{Asn1Op}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:802:5 [INFO] [stdout] | [INFO] [stdout] 9 | use asn1obj::strop::asn1_format_line; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `asn1obj` [INFO] [stdout] --> src/lib.rs:798:5 [INFO] [stdout] | [INFO] [stdout] 5 | use asn1obj::{asn1obj_error_class,asn1obj_new_error}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:806:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:809:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[asn1_int_choice(unicode=0,ascii=1,selector=stype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:822:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:828:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[asn1_int_choice(selector=stype,url=0,moniker=1,file=2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Imp` in this scope [INFO] [stdout] --> src/lib.rs:809:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[asn1_int_choice(unicode=0,ascii=1,selector=stype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:809:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[asn1_int_choice(unicode=0,ascii=1,selector=stype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:822:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:828:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[asn1_int_choice(selector=stype,url=0,moniker=1,file=2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:828:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[asn1_int_choice(selector=stype,url=0,moniker=1,file=2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:935:15 [INFO] [stdout] | [INFO] [stdout] 142 | let mut sps :Asn1OctData = Asn1OctData::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Imp` [INFO] [stdout] --> src/lib.rs:809:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[asn1_int_choice(unicode=0,ascii=1,selector=stype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1Imp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1OctData` [INFO] [stdout] --> src/lib.rs:822:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1OctData` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:828:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[asn1_int_choice(selector=stype,url=0,moniker=1,file=2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_int_choice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1OctData` [INFO] [stdout] --> src/lib.rs:935:29 [INFO] [stdout] | [INFO] [stdout] 142 | let mut sps :Asn1OctData = Asn1OctData::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1OctData` [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - asn1_sequence (line 1599) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1600:27 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1600:57 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1608:51 [INFO] [stdout] | [INFO] [stdout] 11 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1634:21 [INFO] [stdout] | [INFO] [stdout] 37 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1718:27 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1718:57 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:1603:1 [INFO] [stdout] | [INFO] [stdout] 6 | asn1obj_error_class!{Asn1RsaPubkeyElemErrorE3oAm4mPOuymYdvWjdjx} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1640:13 [INFO] [stdout] | [INFO] [stdout] 43 | asn1obj_new_error!{Asn1RsaPubkeyElemErrorE3oAm4mPOuymYdvWjdjx,"not object to decode"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:1720:1 [INFO] [stdout] | [INFO] [stdout] 123 | asn1obj_error_class!{Asn1RsaPubkeyErrorRq2Jst3fJUwzyo035vkX} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1607:47 [INFO] [stdout] | [INFO] [stdout] 10 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1608:24 [INFO] [stdout] | [INFO] [stdout] 11 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1623:48 [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1624:20 [INFO] [stdout] | [INFO] [stdout] 27 | let mainv :serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1724:47 [INFO] [stdout] | [INFO] [stdout] 127 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1728:48 [INFO] [stdout] | [INFO] [stdout] 131 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1602:11 [INFO] [stdout] | [INFO] [stdout] 5 | { pub c : Asn1BigNum, pub n : Asn1BigNum, pub e : Asn1BigNum, } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1602:31 [INFO] [stdout] | [INFO] [stdout] 5 | { pub c : Asn1BigNum, pub n : Asn1BigNum, pub e : Asn1BigNum, } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1602:51 [INFO] [stdout] | [INFO] [stdout] 5 | { pub c : Asn1BigNum, pub n : Asn1BigNum, pub e : Asn1BigNum, } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:1605:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Asn1Op for Asn1RsaPubkeyElem { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1607:95 [INFO] [stdout] | [INFO] [stdout] 10 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1623:96 [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1657:68 [INFO] [stdout] | [INFO] [stdout] 60 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1679:53 [INFO] [stdout] | [INFO] [stdout] 82 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:1697:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1697:95 [INFO] [stdout] | [INFO] [stdout] 100 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1714:19 [INFO] [stdout] | [INFO] [stdout] 117 | fn c_default() -> Asn1BigNum { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:1719:39 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Asn1RsaPubkey { pub elem : Asn1Seq < Asn1RsaPubkeyElem > , } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:1722:6 [INFO] [stdout] | [INFO] [stdout] 125 | impl Asn1Op for Asn1RsaPubkey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1724:95 [INFO] [stdout] | [INFO] [stdout] 127 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1728:96 [INFO] [stdout] | [INFO] [stdout] 131 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1738:68 [INFO] [stdout] | [INFO] [stdout] 141 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1753:53 [INFO] [stdout] | [INFO] [stdout] 156 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:1766:22 [INFO] [stdout] | [INFO] [stdout] 169 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1766:95 [INFO] [stdout] | [INFO] [stdout] 169 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1630:26 [INFO] [stdout] | [INFO] [stdout] 33 | self.n = Asn1BigNum::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1631:26 [INFO] [stdout] | [INFO] [stdout] 34 | self.e = Asn1BigNum::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1651:17 [INFO] [stdout] | [INFO] [stdout] 54 | n : Asn1BigNum::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1652:17 [INFO] [stdout] | [INFO] [stdout] 55 | e : Asn1BigNum::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1715:5 [INFO] [stdout] | [INFO] [stdout] 118 | Asn1BigNum::init_asn1() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Seq` [INFO] [stdout] --> src/lib.rs:1734:20 [INFO] [stdout] | [INFO] [stdout] 137 | elem : Asn1Seq::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Seq` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:1699:13 [INFO] [stdout] | [INFO] [stdout] 102 | s = asn1_format_line(tab,&format!("{} Asn1RsaPubkeyElem", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - asn1_sequence (line 1435) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:1439:5 [INFO] [stdout] | [INFO] [stdout] 6 | use asn1obj::base::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:1440:5 [INFO] [stdout] | [INFO] [stdout] 7 | use asn1obj::complex::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:1441:5 [INFO] [stdout] | [INFO] [stdout] 8 | use asn1obj::asn1impl::Asn1Op; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] --> src/lib.rs:1442:5 [INFO] [stdout] | [INFO] [stdout] 9 | use asn1obj::strop::asn1_format_line; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `asn1obj` [INFO] [stdout] --> src/lib.rs:1438:5 [INFO] [stdout] | [INFO] [stdout] 5 | use asn1obj::{asn1obj_error_class,asn1obj_new_error}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `asn1obj` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `asn1obj`, use `cargo add asn1obj` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint` [INFO] [stdout] --> src/lib.rs:1444:5 [INFO] [stdout] | [INFO] [stdout] 11 | use num_bigint::{BigUint}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint`, use `cargo add num_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex` [INFO] [stdout] --> src/lib.rs:1445:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hex::FromHex; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:1448:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1450:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1462:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1450:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:1458:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn c_default() -> Asn1BigNum { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:1462:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1450:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:1459:2 [INFO] [stdout] | [INFO] [stdout] 26 | Asn1BigNum::init_asn1() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Seq` [INFO] [stdout] --> src/lib.rs:1462:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[asn1_sequence()] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `Asn1Seq` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `asn1_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - asn1_int_choice (line 1032) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1033:27 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1033:57 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1043:51 [INFO] [stdout] | [INFO] [stdout] 13 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1080:21 [INFO] [stdout] | [INFO] [stdout] 50 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1167:27 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1167:57 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1175:51 [INFO] [stdout] | [INFO] [stdout] 145 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1201:21 [INFO] [stdout] | [INFO] [stdout] 171 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1281:27 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:1281:57 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1292:51 [INFO] [stdout] | [INFO] [stdout] 262 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1332:21 [INFO] [stdout] | [INFO] [stdout] 302 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:1039:1 [INFO] [stdout] | [INFO] [stdout] 9 | asn1obj_error_class!{SpcStringKbPtsVK5jxJPFrwnError} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 25 | asn1obj_new_error!{SpcStringKbPtsVK5jxJPFrwnError,"not support {} value",self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 56 | asn1obj_new_error!{SpcStringKbPtsVK5jxJPFrwnError,"not object to decode"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1097:13 [INFO] [stdout] | [INFO] [stdout] 67 | asn1obj_new_error!{SpcStringKbPtsVK5jxJPFrwnError,"not support {} value decode",self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1127:9 [INFO] [stdout] | [INFO] [stdout] 97 | asn1obj_new_error!{SpcStringKbPtsVK5jxJPFrwnError,"not supported type"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1138:13 [INFO] [stdout] | [INFO] [stdout] 108 | asn1obj_new_error!{SpcStringKbPtsVK5jxJPFrwnError,"not supported type {}", self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 125 | asn1obj_new_error!{SpcStringKbPtsVK5jxJPFrwnError,"not supported type {}", self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 140 | asn1obj_error_class!{SpcSerializedObjectErrordOH1dDhMpVjPhyVLzDy2} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1207:13 [INFO] [stdout] | [INFO] [stdout] 177 | asn1obj_new_error!{SpcSerializedObjectErrordOH1dDhMpVjPhyVLzDy2,"not object to decode"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:1288:1 [INFO] [stdout] | [INFO] [stdout] 258 | asn1obj_error_class!{SpcLinkUcpgQzfzIZYlVXm0Error} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1306:13 [INFO] [stdout] | [INFO] [stdout] 276 | asn1obj_new_error!{SpcLinkUcpgQzfzIZYlVXm0Error,"not support {} value",self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1338:13 [INFO] [stdout] | [INFO] [stdout] 308 | asn1obj_new_error!{SpcLinkUcpgQzfzIZYlVXm0Error,"not object to decode"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1351:13 [INFO] [stdout] | [INFO] [stdout] 321 | asn1obj_new_error!{SpcLinkUcpgQzfzIZYlVXm0Error,"not support {} value decode",self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1387:9 [INFO] [stdout] | [INFO] [stdout] 357 | asn1obj_new_error!{SpcLinkUcpgQzfzIZYlVXm0Error,"not supported type"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1400:13 [INFO] [stdout] | [INFO] [stdout] 370 | asn1obj_new_error!{SpcLinkUcpgQzfzIZYlVXm0Error,"not supported type {}", self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:1419:13 [INFO] [stdout] | [INFO] [stdout] 389 | asn1obj_new_error!{SpcLinkUcpgQzfzIZYlVXm0Error,"not supported type {}", self.stype} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1042:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1043:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1067:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1068:20 [INFO] [stdout] | [INFO] [stdout] 38 | let mainv :serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1174:47 [INFO] [stdout] | [INFO] [stdout] 144 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1175:24 [INFO] [stdout] | [INFO] [stdout] 145 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1190:48 [INFO] [stdout] | [INFO] [stdout] 160 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1191:20 [INFO] [stdout] | [INFO] [stdout] 161 | let mainv :serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1291:47 [INFO] [stdout] | [INFO] [stdout] 261 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1292:24 [INFO] [stdout] | [INFO] [stdout] 262 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1318:48 [INFO] [stdout] | [INFO] [stdout] 288 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:1319:20 [INFO] [stdout] | [INFO] [stdout] 289 | let mainv :serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Imp` in this scope [INFO] [stdout] --> src/lib.rs:1036:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub si : i32, pub stype : i32, pub unicode : Asn1Imp < Asn1OctData, 0 > , [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1036:60 [INFO] [stdout] | [INFO] [stdout] 6 | pub si : i32, pub stype : i32, pub unicode : Asn1Imp < Asn1OctData, 0 > , [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SpcString [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Imp` in this scope [INFO] [stdout] --> src/lib.rs:1037:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub ascii : Asn1Imp < Asn1OctData, 1 > , [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1037:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub ascii : Asn1Imp < Asn1OctData, 1 > , [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SpcString [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:1041:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Asn1Op for SpcString { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1042:95 [INFO] [stdout] | [INFO] [stdout] 12 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Integer` in this scope [INFO] [stdout] --> src/lib.rs:1045:23 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1067:96 [INFO] [stdout] | [INFO] [stdout] 37 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Integer` in this scope [INFO] [stdout] --> src/lib.rs:1070:23 [INFO] [stdout] | [INFO] [stdout] 40 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1112:67 [INFO] [stdout] | [INFO] [stdout] 82 | fn decode_asn1(&mut self,code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1113:45 [INFO] [stdout] | [INFO] [stdout] 83 | let mut ores : Result>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1130:53 [INFO] [stdout] | [INFO] [stdout] 100 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:1144:22 [INFO] [stdout] | [INFO] [stdout] 114 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1144:95 [INFO] [stdout] | [INFO] [stdout] 114 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1169:17 [INFO] [stdout] | [INFO] [stdout] 139 | { pub classid : Asn1OctData, pub serializeddata : Asn1OctData, } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1169:51 [INFO] [stdout] | [INFO] [stdout] 139 | { pub classid : Asn1OctData, pub serializeddata : Asn1OctData, } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:1172:6 [INFO] [stdout] | [INFO] [stdout] 142 | impl Asn1Op for SpcSerializedObject { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1174:95 [INFO] [stdout] | [INFO] [stdout] 144 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1190:96 [INFO] [stdout] | [INFO] [stdout] 160 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1223:68 [INFO] [stdout] | [INFO] [stdout] 193 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1245:53 [INFO] [stdout] | [INFO] [stdout] 215 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:1263:22 [INFO] [stdout] | [INFO] [stdout] 233 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1263:95 [INFO] [stdout] | [INFO] [stdout] 233 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:1284:32 [INFO] [stdout] | [INFO] [stdout] 254 | pub stype : i32, pub url : Asn1ImpSet < Asn1OctData, 0 > , pub moniker : [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1OctData` in this scope [INFO] [stdout] --> src/lib.rs:1284:45 [INFO] [stdout] | [INFO] [stdout] 254 | pub stype : i32, pub url : Asn1ImpSet < Asn1OctData, 0 > , pub moniker : [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 252 | pub struct SpcLink [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:1285:5 [INFO] [stdout] | [INFO] [stdout] 255 | Asn1ImpSet < SpcSerializedObject, 1 > , pub file : Asn1ImpSet < SpcString, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1ImpSet` in this scope [INFO] [stdout] --> src/lib.rs:1285:56 [INFO] [stdout] | [INFO] [stdout] 255 | Asn1ImpSet < SpcSerializedObject, 1 > , pub file : Asn1ImpSet < SpcString, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:1290:6 [INFO] [stdout] | [INFO] [stdout] 260 | impl Asn1Op for SpcLink { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1291:95 [INFO] [stdout] | [INFO] [stdout] 261 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Integer` in this scope [INFO] [stdout] --> src/lib.rs:1294:23 [INFO] [stdout] | [INFO] [stdout] 264 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1318:96 [INFO] [stdout] | [INFO] [stdout] 288 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Integer` in this scope [INFO] [stdout] --> src/lib.rs:1321:23 [INFO] [stdout] | [INFO] [stdout] 291 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1366:67 [INFO] [stdout] | [INFO] [stdout] 336 | fn decode_asn1(&mut self,code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1367:45 [INFO] [stdout] | [INFO] [stdout] 337 | let mut ores : Result>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1390:53 [INFO] [stdout] | [INFO] [stdout] 360 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:1406:22 [INFO] [stdout] | [INFO] [stdout] 376 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:1406:95 [INFO] [stdout] | [INFO] [stdout] 376 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Integer` [INFO] [stdout] --> src/lib.rs:1045:37 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1Integer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Integer` [INFO] [stdout] --> src/lib.rs:1070:37 [INFO] [stdout] | [INFO] [stdout] 40 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1Integer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Imp` [INFO] [stdout] --> src/lib.rs:1076:32 [INFO] [stdout] | [INFO] [stdout] 46 | self.unicode = Asn1Imp::init_asn1(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Imp` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Imp` [INFO] [stdout] --> src/lib.rs:1077:30 [INFO] [stdout] | [INFO] [stdout] 47 | self.ascii = Asn1Imp::init_asn1(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Imp` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Imp` [INFO] [stdout] --> src/lib.rs:1106:23 [INFO] [stdout] | [INFO] [stdout] 76 | unicode : Asn1Imp::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Imp` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Imp` [INFO] [stdout] --> src/lib.rs:1107:21 [INFO] [stdout] | [INFO] [stdout] 77 | ascii : Asn1Imp::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Imp` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1OctData` [INFO] [stdout] --> src/lib.rs:1197:32 [INFO] [stdout] | [INFO] [stdout] 167 | self.classid = Asn1OctData::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1OctData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1OctData` [INFO] [stdout] --> src/lib.rs:1198:39 [INFO] [stdout] | [INFO] [stdout] 168 | self.serializeddata = Asn1OctData::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1OctData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1OctData` [INFO] [stdout] --> src/lib.rs:1218:23 [INFO] [stdout] | [INFO] [stdout] 188 | classid : Asn1OctData::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1OctData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1OctData` [INFO] [stdout] --> src/lib.rs:1219:30 [INFO] [stdout] | [INFO] [stdout] 189 | serializeddata : Asn1OctData::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1OctData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Integer` [INFO] [stdout] --> src/lib.rs:1294:37 [INFO] [stdout] | [INFO] [stdout] 264 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1Integer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Integer` [INFO] [stdout] --> src/lib.rs:1321:37 [INFO] [stdout] | [INFO] [stdout] 291 | let mut cint :Asn1Integer = Asn1Integer::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Asn1Integer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:1327:28 [INFO] [stdout] | [INFO] [stdout] 297 | self.url = Asn1ImpSet::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:1328:32 [INFO] [stdout] | [INFO] [stdout] 298 | self.moniker = Asn1ImpSet::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:1329:29 [INFO] [stdout] | [INFO] [stdout] 299 | self.file = Asn1ImpSet::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:1360:19 [INFO] [stdout] | [INFO] [stdout] 330 | url : Asn1ImpSet::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:1361:23 [INFO] [stdout] | [INFO] [stdout] 331 | moniker : Asn1ImpSet::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1ImpSet` [INFO] [stdout] --> src/lib.rs:1362:20 [INFO] [stdout] | [INFO] [stdout] 332 | file : Asn1ImpSet::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1ImpSet` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:1147:13 [INFO] [stdout] | [INFO] [stdout] 117 | s = asn1_format_line(tab,&format!("{}.stype type {}",name,self.stype)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:1265:13 [INFO] [stdout] | [INFO] [stdout] 235 | s = asn1_format_line(tab,&format!("{} SpcSerializedObject", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:1409:13 [INFO] [stdout] | [INFO] [stdout] 379 | s = asn1_format_line(tab,&format!("{}.stype type {}",name,self.stype)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 98 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - asn1_choice (line 261) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:262:57 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:269:51 [INFO] [stdout] | [INFO] [stdout] 10 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 36 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:375:57 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:430:27 [INFO] [stdout] | [INFO] [stdout] 171 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:430:57 [INFO] [stdout] | [INFO] [stdout] 171 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 207 | let mut mainv = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 234 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:579:27 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:579:57 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:589:51 [INFO] [stdout] | [INFO] [stdout] 330 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:622:21 [INFO] [stdout] | [INFO] [stdout] 363 | mainv = serde_json::json!(k.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:732:27 [INFO] [stdout] | [INFO] [stdout] 473 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:732:57 [INFO] [stdout] | [INFO] [stdout] 473 | #[derive(Clone)] #[derive(serde :: Serialize)] #[derive(serde :: Deserialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 5 | asn1obj_error_class!{Asn1RsaPubkeyElemErrorEdrk8es4XcOgavsl22NM} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 42 | asn1obj_new_error!{Asn1RsaPubkeyElemErrorEdrk8es4XcOgavsl22NM,"not object to decode"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 118 | asn1obj_error_class!{Asn1RsaPubkeyError3fVsRgZcPpDojrNZKlPy} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 174 | asn1obj_error_class!{ Asn1X509PubkeySelectorError0O9gGJvAUzZYpQpaXIB0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 240 | asn1obj_new_error!{Asn1X509PubkeySelectorError0O9gGJvAUzZYpQpaXIB0,"[{}] not valid object",key} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:585:1 [INFO] [stdout] | [INFO] [stdout] 326 | asn1obj_error_class!{ Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:599:13 [INFO] [stdout] | [INFO] [stdout] 340 | asn1obj_new_error!{Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0,"not support [{}]",c} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 369 | asn1obj_new_error!{Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0,"not object to decode"} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 382 | asn1obj_new_error!{Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0,"not support [{}]",c} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 410 | asn1obj_new_error!{ Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0, "can not find [{}] selector", k} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 434 | asn1obj_new_error!{ Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0, "can not support [{}]", k } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_new_error` in this scope [INFO] [stdout] --> src/lib.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 461 | asn1obj_new_error!{ Asn1X509PubkeyElemErrormvhM71LDl1JaLUvas7p0, "can not support [{}]", k } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asn1obj_error_class` in this scope [INFO] [stdout] --> src/lib.rs:734:1 [INFO] [stdout] | [INFO] [stdout] 475 | asn1obj_error_class!{Asn1X509PubkeyErrorEUjXDRAQx9CFuhQmawPp} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:268:47 [INFO] [stdout] | [INFO] [stdout] 9 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 10 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:284:48 [INFO] [stdout] | [INFO] [stdout] 25 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mainv :serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:381:47 [INFO] [stdout] | [INFO] [stdout] 122 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 126 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:465:47 [INFO] [stdout] | [INFO] [stdout] 206 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:482:47 [INFO] [stdout] | [INFO] [stdout] 223 | fn decode_json(&mut self, key :&str,val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:483:21 [INFO] [stdout] | [INFO] [stdout] 224 | let mainv : serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:588:47 [INFO] [stdout] | [INFO] [stdout] 329 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 330 | let mut mainv :serde_json::value::Value = serde_json::json!({}); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:611:47 [INFO] [stdout] | [INFO] [stdout] 352 | fn decode_json(&mut self, key :&str,val :&serde_json::value::Value) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:612:20 [INFO] [stdout] | [INFO] [stdout] 353 | let mainv :serde_json::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:738:47 [INFO] [stdout] | [INFO] [stdout] 479 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:742:48 [INFO] [stdout] | [INFO] [stdout] 483 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Asn1RsaPubkeyElem { pub n : Asn1BigNum, pub e : Asn1BigNum, } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BigNum` in this scope [INFO] [stdout] --> src/lib.rs:263:60 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Asn1RsaPubkeyElem { pub n : Asn1BigNum, pub e : Asn1BigNum, } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:266:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Asn1Op for Asn1RsaPubkeyElem { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:268:95 [INFO] [stdout] | [INFO] [stdout] 9 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:284:96 [INFO] [stdout] | [INFO] [stdout] 25 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:317:68 [INFO] [stdout] | [INFO] [stdout] 58 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:339:53 [INFO] [stdout] | [INFO] [stdout] 80 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:357:22 [INFO] [stdout] | [INFO] [stdout] 98 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:357:95 [INFO] [stdout] | [INFO] [stdout] 98 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:376:39 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Asn1RsaPubkey { pub elem : Asn1Seq < Asn1RsaPubkeyElem > , } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 120 | impl Asn1Op for Asn1RsaPubkey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:381:95 [INFO] [stdout] | [INFO] [stdout] 122 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:385:96 [INFO] [stdout] | [INFO] [stdout] 126 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:395:68 [INFO] [stdout] | [INFO] [stdout] 136 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:410:53 [INFO] [stdout] | [INFO] [stdout] 151 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:423:22 [INFO] [stdout] | [INFO] [stdout] 164 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:423:95 [INFO] [stdout] | [INFO] [stdout] 164 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Object` in this scope [INFO] [stdout] --> src/lib.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 173 | { pub obji : i32, pub val : Asn1Object, pub padded : Asn1Any, } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Any` in this scope [INFO] [stdout] --> src/lib.rs:432:54 [INFO] [stdout] | [INFO] [stdout] 173 | { pub obji : i32, pub val : Asn1Object, pub padded : Asn1Any, } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Selector` in this scope [INFO] [stdout] --> src/lib.rs:435:6 [INFO] [stdout] | [INFO] [stdout] 176 | impl Asn1Selector for Asn1X509PubkeySelector { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:437:54 [INFO] [stdout] | [INFO] [stdout] 178 | fn encode_select(&self) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:449:54 [INFO] [stdout] | [INFO] [stdout] 190 | fn decode_select(&self) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 204 | impl Asn1Op for Asn1X509PubkeySelector { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:465:95 [INFO] [stdout] | [INFO] [stdout] 206 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:482:95 [INFO] [stdout] | [INFO] [stdout] 223 | fn decode_json(&mut self, key :&str,val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:517:68 [INFO] [stdout] | [INFO] [stdout] 258 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:539:53 [INFO] [stdout] | [INFO] [stdout] 280 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:557:22 [INFO] [stdout] | [INFO] [stdout] 298 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:557:95 [INFO] [stdout] | [INFO] [stdout] 298 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1SeqSelector` in this scope [INFO] [stdout] --> src/lib.rs:582:31 [INFO] [stdout] | [INFO] [stdout] 323 | pub vv : i32, pub valid : Asn1SeqSelector < Asn1X509PubkeySelector > , pub [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1BitSeq` in this scope [INFO] [stdout] --> src/lib.rs:583:11 [INFO] [stdout] | [INFO] [stdout] 324 | rsa : Asn1BitSeq < Asn1RsaPubkey > , pub any : Asn1Any, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Any` in this scope [INFO] [stdout] --> src/lib.rs:583:52 [INFO] [stdout] | [INFO] [stdout] 324 | rsa : Asn1BitSeq < Asn1RsaPubkey > , pub any : Asn1Any, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:587:6 [INFO] [stdout] | [INFO] [stdout] 328 | impl Asn1Op for Asn1X509PubkeyElem { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:588:95 [INFO] [stdout] | [INFO] [stdout] 329 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result>{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:611:95 [INFO] [stdout] | [INFO] [stdout] 352 | fn decode_json(&mut self, key :&str,val :&serde_json::value::Value) -> Result>{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:656:68 [INFO] [stdout] | [INFO] [stdout] 397 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:675:53 [INFO] [stdout] | [INFO] [stdout] 416 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:703:22 [INFO] [stdout] | [INFO] [stdout] 444 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:703:95 [INFO] [stdout] | [INFO] [stdout] 444 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asn1Seq` in this scope [INFO] [stdout] --> src/lib.rs:733:40 [INFO] [stdout] | [INFO] [stdout] 474 | pub struct Asn1X509Pubkey { pub elem : Asn1Seq < Asn1X509PubkeyElem > , } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Asn1Op` in this scope [INFO] [stdout] --> src/lib.rs:736:6 [INFO] [stdout] | [INFO] [stdout] 477 | impl Asn1Op for Asn1X509Pubkey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:738:95 [INFO] [stdout] | [INFO] [stdout] 479 | fn encode_json(&self, key :&str,val :&mut serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:742:96 [INFO] [stdout] | [INFO] [stdout] 483 | fn decode_json(&mut self, key :&str, val :&serde_json::value::Value) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:752:68 [INFO] [stdout] | [INFO] [stdout] 493 | fn decode_asn1(&mut self, code :&[u8]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:767:53 [INFO] [stdout] | [INFO] [stdout] 508 | fn encode_asn1(&self) -> Result,Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/lib.rs:780:22 [INFO] [stdout] | [INFO] [stdout] 521 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/lib.rs:780:95 [INFO] [stdout] | [INFO] [stdout] 521 | fn print_asn1(&self,name :&str,tab :i32, iowriter :&mut U) -> Result<(),Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 32 | self.n = Asn1BigNum::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 33 | self.e = Asn1BigNum::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 53 | n : Asn1BigNum::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BigNum` [INFO] [stdout] --> src/lib.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 54 | e : Asn1BigNum::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BigNum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Seq` [INFO] [stdout] --> src/lib.rs:391:20 [INFO] [stdout] | [INFO] [stdout] 132 | elem : Asn1Seq::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Seq` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Object` [INFO] [stdout] --> src/lib.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 230 | self.val = Asn1Object::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1Object` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:490:31 [INFO] [stdout] | [INFO] [stdout] 231 | self.padded = Asn1Any::init_asn1(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Object` [INFO] [stdout] --> src/lib.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 252 | val : Asn1Object::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1Object` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 253 | padded : Asn1Any::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1SeqSelector` [INFO] [stdout] --> src/lib.rs:617:30 [INFO] [stdout] | [INFO] [stdout] 358 | self.valid = Asn1SeqSelector::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Asn1SeqSelector` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BitSeq` [INFO] [stdout] --> src/lib.rs:618:28 [INFO] [stdout] | [INFO] [stdout] 359 | self.rsa = Asn1BitSeq::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BitSeq` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:619:28 [INFO] [stdout] | [INFO] [stdout] 360 | self.any = Asn1Any::init_asn1(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BitSeq` [INFO] [stdout] --> src/lib.rs:632:20 [INFO] [stdout] | [INFO] [stdout] 373 | self.rsa = Asn1BitSeq::init_asn1(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BitSeq` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:633:20 [INFO] [stdout] | [INFO] [stdout] 374 | self.any = Asn1Any::init_asn1(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1SeqSelector` [INFO] [stdout] --> src/lib.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 390 | valid : Asn1SeqSelector::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Asn1SeqSelector` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1BitSeq` [INFO] [stdout] --> src/lib.rs:650:19 [INFO] [stdout] | [INFO] [stdout] 391 | rsa : Asn1BitSeq::init_asn1(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Asn1BitSeq` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Any` [INFO] [stdout] --> src/lib.rs:651:19 [INFO] [stdout] | [INFO] [stdout] 392 | any : Asn1Any::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Any` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asn1Seq` [INFO] [stdout] --> src/lib.rs:748:20 [INFO] [stdout] | [INFO] [stdout] 489 | elem : Asn1Seq::init_asn1(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Asn1Seq` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 100 | s = asn1_format_line(tab,&format!("{} Asn1RsaPubkeyElem", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 300 | s = asn1_format_line(tab,&format!("{} Asn1X509PubkeySelector", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `asn1_format_line` in this scope [INFO] [stdout] --> src/lib.rs:707:17 [INFO] [stdout] | [INFO] [stdout] 448 | _outs = asn1_format_line(tab,&format!("{} ASN1_CHOICE Asn1X509PubkeyElem",name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 112 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - asn1_choice (line 215) [INFO] [stdout] src/lib.rs - asn1_choice (line 261) [INFO] [stdout] src/lib.rs - asn1_choice (line 38) [INFO] [stdout] src/lib.rs - asn1_int_choice (line 1002) [INFO] [stdout] src/lib.rs - asn1_int_choice (line 1032) [INFO] [stdout] src/lib.rs - asn1_int_choice (line 795) [INFO] [stdout] src/lib.rs - asn1_sequence (line 1435) [INFO] [stdout] src/lib.rs - asn1_sequence (line 1579) [INFO] [stdout] src/lib.rs - asn1_sequence (line 1599) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6112d41d1678bbca701de8963ea7007eb6343faacffd8d7c9d51b07fc634986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6112d41d1678bbca701de8963ea7007eb6343faacffd8d7c9d51b07fc634986", kill_on_drop: false }` [INFO] [stdout] d6112d41d1678bbca701de8963ea7007eb6343faacffd8d7c9d51b07fc634986