[INFO] cloning repository https://github.com/6d7a/rasn-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/6d7a/rasn-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6d7a%2Frasn-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6d7a%2Frasn-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80288259a12c1fc2187a0b7bf74c0de606318f06 [INFO] checking 6d7a/rasn-compiler against master#bbcc1691a4646a6d2ebb2189bdff5b878407fbe6 for pr-117351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6d7a%2Frasn-compiler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/6d7a/rasn-compiler on toolchain bbcc1691a4646a6d2ebb2189bdff5b878407fbe6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/6d7a/rasn-compiler [INFO] finished tweaking git repo https://github.com/6d7a/rasn-compiler [INFO] tweaked toml for git repo https://github.com/6d7a/rasn-compiler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/6d7a/rasn-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f909c8c9804e11b77e67696cee14ccb4d3ca821487053e42122328c27674b017 [INFO] running `Command { std: "docker" "start" "-a" "f909c8c9804e11b77e67696cee14ccb4d3ca821487053e42122328c27674b017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f909c8c9804e11b77e67696cee14ccb4d3ca821487053e42122328c27674b017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f909c8c9804e11b77e67696cee14ccb4d3ca821487053e42122328c27674b017", kill_on_drop: false }` [INFO] [stdout] f909c8c9804e11b77e67696cee14ccb4d3ca821487053e42122328c27674b017 [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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1d3e050e6a9419b5cdc7dfc042044feb757162f0229509f739a409d3fcee7e1 [INFO] running `Command { std: "docker" "start" "-a" "b1d3e050e6a9419b5cdc7dfc042044feb757162f0229509f739a409d3fcee7e1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking typewit v1.8.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking proc-macro2 v1.0.69 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking konst_kernel v0.3.6 [INFO] [stderr] Checking konst v0.3.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Checking rasn-compiler v0.1.0 (/opt/rustwide/workdir/rasn-compiler) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> rasn-compiler/src/generator/builder.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | /// TODO: process boolean constraints [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | / if let ASN1Type::Boolean(_) = tld.r#type { [INFO] [stdout] 149 | | Ok(boolean_template( [INFO] [stdout] 150 | | format_comments(&tld.comments), [INFO] [stdout] 151 | | to_rust_title_case(&tld.name), [INFO] [stdout] ... | [INFO] [stdout] 159 | | )) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddAssign` [INFO] [stdout] --> rasn-compiler/src/intermediate/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | ops::{Add, AddAssign}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> rasn-compiler/src/generator/builder.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | /// TODO: process boolean constraints [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | / if let ASN1Type::Boolean(_) = tld.r#type { [INFO] [stdout] 149 | | Ok(boolean_template( [INFO] [stdout] 150 | | format_comments(&tld.comments), [INFO] [stdout] 151 | | to_rust_title_case(&tld.name), [INFO] [stdout] ... | [INFO] [stdout] 159 | | )) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddAssign` [INFO] [stdout] --> rasn-compiler/src/intermediate/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | ops::{Add, AddAssign}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> rasn-compiler/src/generator/builder.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | /// TODO: process boolean constraints [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | / if let ASN1Type::Boolean(_) = tld.r#type { [INFO] [stdout] 149 | | Ok(boolean_template( [INFO] [stdout] 150 | | format_comments(&tld.comments), [INFO] [stdout] 151 | | to_rust_title_case(&tld.name), [INFO] [stdout] ... | [INFO] [stdout] 159 | | )) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddAssign` [INFO] [stdout] --> rasn-compiler/src/intermediate/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | ops::{Add, AddAssign}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `constraints::*` [INFO] [stdout] --> rasn-compiler/src/parser/constraint.rs:373:31 [INFO] [stdout] | [INFO] [stdout] 373 | use crate::intermediate::{constraints::*, information_object::*, types::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intermediate::types::*` [INFO] [stdout] --> rasn-compiler/src/parser/enumerated.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::intermediate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rasn-compiler/src/intermediate/constraints.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | fn from(value: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rasn-compiler/src/intermediate/constraints.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | fn from(value: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bitvec-nom2 v0.2.0 [INFO] [stderr] Checking bitvec-nom v0.2.0 [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rasn-compiler/src/intermediate/constraints.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | fn from(value: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_supporting` [INFO] [stdout] --> rasn-compiler/src/lib.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn no_std(self, is_supporting: bool) -> RasnCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_supporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmptyChoiceType`, `MissingCustomSyntax`, `SyntaxMismatch`, and `MissingClassKey` are never constructed [INFO] [stdout] --> rasn-compiler/src/generator/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum GeneratorErrorType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 25 | Asn1TypeMismatch, [INFO] [stdout] 26 | EmptyChoiceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | MissingCustomSyntax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SyntaxMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | MissingClassKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratorErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_CHEVRON` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/mod.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const RIGHT_CHEVRON: char = '>'; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TypeConstraint` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/constraints.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 622 | pub enum SubtypeElement { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 638 | TypeConstraint(ASN1Type), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubtypeElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_length` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/encoding_rules/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bit_length(min: i128, max: i128) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/error.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl GrammarError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(data_details: &str, kind: GrammarErrorType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PerVisibleConstraintError` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GrammarErrorType { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | PerVisibleConstraintError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrammarErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ByReference` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/information_object.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ClassLink { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 14 | ByName(String), [INFO] [stdout] 15 | ByReference(InformationObjectClass), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassLink` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> rasn-compiler/src/parser/util.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let t1 = end_tag.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> rasn-compiler/src/parser/util.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let t2 = however_tag.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasn-compiler-derive v0.1.0 (/opt/rustwide/workdir/rasn-compiler-derive) [INFO] [stderr] Checking backtrace v0.3.69 [INFO] [stderr] Compiling rasn-derive v0.9.5 [INFO] [stdout] warning: unused variable: `is_supporting` [INFO] [stdout] --> rasn-compiler/src/lib.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn no_std(self, is_supporting: bool) -> RasnCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_supporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmptyChoiceType`, `MissingCustomSyntax`, `SyntaxMismatch`, and `MissingClassKey` are never constructed [INFO] [stdout] --> rasn-compiler/src/generator/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum GeneratorErrorType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 25 | Asn1TypeMismatch, [INFO] [stdout] 26 | EmptyChoiceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | MissingCustomSyntax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SyntaxMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | MissingClassKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratorErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_CHEVRON` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/mod.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const RIGHT_CHEVRON: char = '>'; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TypeConstraint` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/constraints.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 622 | pub enum SubtypeElement { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 638 | TypeConstraint(ASN1Type), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubtypeElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_length` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/encoding_rules/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bit_length(min: i128, max: i128) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/error.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl GrammarError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(data_details: &str, kind: GrammarErrorType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PerVisibleConstraintError` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GrammarErrorType { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | PerVisibleConstraintError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrammarErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ByReference` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/information_object.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ClassLink { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 14 | ByName(String), [INFO] [stdout] 15 | ByReference(InformationObjectClass), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassLink` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> rasn-compiler/src/parser/util.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let t1 = end_tag.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> rasn-compiler/src/parser/util.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let t2 = however_tag.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stdout] warning: unused variable: `is_supporting` [INFO] [stdout] --> rasn-compiler/src/lib.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn no_std(self, is_supporting: bool) -> RasnCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_supporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmptyChoiceType`, `MissingCustomSyntax`, `SyntaxMismatch`, and `MissingClassKey` are never constructed [INFO] [stdout] --> rasn-compiler/src/generator/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum GeneratorErrorType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 25 | Asn1TypeMismatch, [INFO] [stdout] 26 | EmptyChoiceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | MissingCustomSyntax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SyntaxMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | MissingClassKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratorErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_CHEVRON` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/mod.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const RIGHT_CHEVRON: char = '>'; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TypeConstraint` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/constraints.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 622 | pub enum SubtypeElement { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 638 | TypeConstraint(ASN1Type), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubtypeElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rasn-compiler/src/intermediate/error.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl GrammarError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(data_details: &str, kind: GrammarErrorType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PerVisibleConstraintError` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GrammarErrorType { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | PerVisibleConstraintError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrammarErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ByReference` is never constructed [INFO] [stdout] --> rasn-compiler/src/intermediate/information_object.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ClassLink { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 14 | ByName(String), [INFO] [stdout] 15 | ByReference(InformationObjectClass), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassLink` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> rasn-compiler/src/parser/util.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let t1 = end_tag.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> rasn-compiler/src/parser/util.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let t2 = however_tag.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasn v0.9.5 [INFO] [stderr] Checking rasn-kerberos v0.9.5 [INFO] [stderr] Checking rasn-compiler-tests v0.1.0 (/opt/rustwide/workdir/rasn-compiler-tests) [INFO] [stdout] warning: constant `ATTRIBUTE` is never used [INFO] [stdout] --> rasn-compiler-tests/tests/information_objects.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const ATTRIBUTE: &'static str = r#"ATTRIBUTE ::= CLASS { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.91s [INFO] running `Command { std: "docker" "inspect" "b1d3e050e6a9419b5cdc7dfc042044feb757162f0229509f739a409d3fcee7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d3e050e6a9419b5cdc7dfc042044feb757162f0229509f739a409d3fcee7e1", kill_on_drop: false }` [INFO] [stdout] b1d3e050e6a9419b5cdc7dfc042044feb757162f0229509f739a409d3fcee7e1 [INFO] checking 6d7a/rasn-compiler against try#ac89e27721b9b4d1482ebc87f2f83b4e23d49d71 for pr-117351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6d7a%2Frasn-compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/6d7a/rasn-compiler on toolchain ac89e27721b9b4d1482ebc87f2f83b4e23d49d71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/6d7a/rasn-compiler [INFO] finished tweaking git repo https://github.com/6d7a/rasn-compiler [INFO] tweaked toml for git repo https://github.com/6d7a/rasn-compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/6d7a/rasn-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1284ff1d66e6bf4d5c820f3251aa5a98ee91748876066351523bac5f1453029 [INFO] running `Command { std: "docker" "start" "-a" "a1284ff1d66e6bf4d5c820f3251aa5a98ee91748876066351523bac5f1453029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1284ff1d66e6bf4d5c820f3251aa5a98ee91748876066351523bac5f1453029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1284ff1d66e6bf4d5c820f3251aa5a98ee91748876066351523bac5f1453029", kill_on_drop: false }` [INFO] [stdout] a1284ff1d66e6bf4d5c820f3251aa5a98ee91748876066351523bac5f1453029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a6a7ee3450ab5d31255c0f346fcd66f527cf6649b5c0226d85db61bb2bc8b11 [INFO] running `Command { std: "docker" "start" "-a" "1a6a7ee3450ab5d31255c0f346fcd66f527cf6649b5c0226d85db61bb2bc8b11", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stdout] error[E0277]: the size for values of type `S` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/const_panic-0.2.8/src/fmt.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct IsPanicFmt { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 154 | self_: PhantomData S>, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 153 - pub struct IsPanicFmt { [INFO] [stdout] 153 + pub struct IsPanicFmt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/const_panic-0.2.8/src/fmt.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct IsPanicFmt { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 154 | self_: PhantomData S>, [INFO] [stdout] 155 | this: PhantomData T>, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 153 - pub struct IsPanicFmt { [INFO] [stdout] 153 + pub struct IsPanicFmt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const_panic` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1a6a7ee3450ab5d31255c0f346fcd66f527cf6649b5c0226d85db61bb2bc8b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6a7ee3450ab5d31255c0f346fcd66f527cf6649b5c0226d85db61bb2bc8b11", kill_on_drop: false }` [INFO] [stdout] 1a6a7ee3450ab5d31255c0f346fcd66f527cf6649b5c0226d85db61bb2bc8b11