[INFO] fetching crate jute-parser 0.1.0... [INFO] testing jute-parser-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate jute-parser 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate jute-parser 0.1.0 [INFO] finished tweaking crates.io crate jute-parser 0.1.0 [INFO] tweaked toml for crates.io crate jute-parser 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jute-parser 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jute-parser 0.1.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e26427359374d117b2c172abb2942dc1c7159096cf6bde56f0e63a00826cdffa [INFO] running `Command { std: "docker" "start" "-a" "e26427359374d117b2c172abb2942dc1c7159096cf6bde56f0e63a00826cdffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e26427359374d117b2c172abb2942dc1c7159096cf6bde56f0e63a00826cdffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26427359374d117b2c172abb2942dc1c7159096cf6bde56f0e63a00826cdffa", kill_on_drop: false }` [INFO] [stdout] e26427359374d117b2c172abb2942dc1c7159096cf6bde56f0e63a00826cdffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dc8475b7c713b3905cc8605c87f3aa8254dfd03a80644f915d78f5535bbdecb [INFO] running `Command { std: "docker" "start" "-a" "2dc8475b7c713b3905cc8605c87f3aa8254dfd03a80644f915d78f5535bbdecb", kill_on_drop: false }` [INFO] [stderr] Compiling jute-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/code_generator/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait CodeGenerator { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn write(&mut self, o_file: &Path) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/code_generator/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_module_name` is never used [INFO] [stdout] --> src/code_generator/rust/utilities.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_module_name(original_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/code_generator/rust/utilities.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Doc { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 13 | // it checks if the single doc contain same modules more than one time and all modules are valid [INFO] [stdout] 14 | pub fn validate(&self) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 36 | // this will validate that the module is valid in its own (all records are valid and no record name repeated) [INFO] [stdout] 37 | pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Class { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 59 | // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done [INFO] [stdout] 60 | pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstPrinter` is never constructed [INFO] [stdout] --> src/compiler/ast_printer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AstPrinter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/ast_printer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AstPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn print_indent(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn line(&self, label: impl AsRef) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn with_indent(&mut self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn print_doc(&mut self, doc: &Doc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn print_module(&mut self, m: &Module) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn print_class(&mut self, c: &Class) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn print_field(&mut self, f: &Field) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptype` is never used [INFO] [stdout] --> src/compiler/ast_printer.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn ptype(t: &Type) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "2dc8475b7c713b3905cc8605c87f3aa8254dfd03a80644f915d78f5535bbdecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc8475b7c713b3905cc8605c87f3aa8254dfd03a80644f915d78f5535bbdecb", kill_on_drop: false }` [INFO] [stdout] 2dc8475b7c713b3905cc8605c87f3aa8254dfd03a80644f915d78f5535bbdecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff7ade7c1de3dcc18f338908dc83df471b7c8750b8b245302b0d66de3c007ab5 [INFO] running `Command { std: "docker" "start" "-a" "ff7ade7c1de3dcc18f338908dc83df471b7c8750b8b245302b0d66de3c007ab5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/code_generator/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait CodeGenerator { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn write(&mut self, o_file: &Path) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/code_generator/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_module_name` is never used [INFO] [stdout] --> src/code_generator/rust/utilities.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_module_name(original_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/code_generator/rust/utilities.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Doc { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 13 | // it checks if the single doc contain same modules more than one time and all modules are valid [INFO] [stdout] 14 | pub fn validate(&self) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 36 | // this will validate that the module is valid in its own (all records are valid and no record name repeated) [INFO] [stdout] 37 | pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Class { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 59 | // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done [INFO] [stdout] 60 | pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstPrinter` is never constructed [INFO] [stdout] --> src/compiler/ast_printer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AstPrinter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/ast_printer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AstPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn print_indent(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn line(&self, label: impl AsRef) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn with_indent(&mut self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn print_doc(&mut self, doc: &Doc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn print_module(&mut self, m: &Module) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn print_class(&mut self, c: &Class) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn print_field(&mut self, f: &Field) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptype` is never used [INFO] [stdout] --> src/compiler/ast_printer.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn ptype(t: &Type) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling jute-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/code_generator/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait CodeGenerator { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn write(&mut self, o_file: &Path) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/code_generator/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_module_name` is never used [INFO] [stdout] --> src/code_generator/rust/utilities.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_module_name(original_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/code_generator/rust/utilities.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Doc { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 13 | // it checks if the single doc contain same modules more than one time and all modules are valid [INFO] [stdout] 14 | pub fn validate(&self) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 36 | // this will validate that the module is valid in its own (all records are valid and no record name repeated) [INFO] [stdout] 37 | pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/compiler/ast.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Class { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 59 | // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done [INFO] [stdout] 60 | pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstPrinter` is never constructed [INFO] [stdout] --> src/compiler/ast_printer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AstPrinter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/ast_printer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AstPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn print_indent(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn line(&self, label: impl AsRef) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn with_indent(&mut self, f: F) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn print_doc(&mut self, doc: &Doc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn print_module(&mut self, m: &Module) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn print_class(&mut self, c: &Class) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn print_field(&mut self, f: &Field) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptype` is never used [INFO] [stdout] --> src/compiler/ast_printer.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn ptype(t: &Type) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "ff7ade7c1de3dcc18f338908dc83df471b7c8750b8b245302b0d66de3c007ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7ade7c1de3dcc18f338908dc83df471b7c8750b8b245302b0d66de3c007ab5", kill_on_drop: false }` [INFO] [stdout] ff7ade7c1de3dcc18f338908dc83df471b7c8750b8b245302b0d66de3c007ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31884b2182f1d2e19382362a946238afabe6654b8eb2e9755affa6465b87ec40 [INFO] running `Command { std: "docker" "start" "-a" "31884b2182f1d2e19382362a946238afabe6654b8eb2e9755affa6465b87ec40", kill_on_drop: false }` [INFO] [stderr] warning: method `write` is never used [INFO] [stderr] --> src/code_generator/mod.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) trait CodeGenerator { [INFO] [stderr] | ------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 10 | fn write(&mut self, o_file: &Path) -> Result<(), JuteError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/code_generator/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | #[warn(dead_code)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_module_name` is never used [INFO] [stderr] --> src/code_generator/rust/utilities.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get_module_name(original_name: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/code_generator/rust/utilities.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | #[warn(dead_code)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `validate` is never used [INFO] [stderr] --> src/compiler/ast.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Doc { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] 13 | // it checks if the single doc contain same modules more than one time and all modules are valid [INFO] [stderr] 14 | pub fn validate(&self) -> Result<(), JuteError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `validate` is never used [INFO] [stderr] --> src/compiler/ast.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl Module { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 36 | // this will validate that the module is valid in its own (all records are valid and no record name repeated) [INFO] [stderr] 37 | pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `validate` is never used [INFO] [stderr] --> src/compiler/ast.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 58 | impl Class { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 59 | // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done [INFO] [stderr] 60 | pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AstPrinter` is never constructed [INFO] [stderr] --> src/compiler/ast_printer.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct AstPrinter { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/compiler/ast_printer.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl AstPrinter { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 8 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | fn print_indent(&self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | fn line(&self, label: impl AsRef) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | fn with_indent(&mut self, f: F) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn print_doc(&mut self, doc: &Doc) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | fn print_module(&mut self, m: &Module) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | fn print_class(&mut self, c: &Class) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | fn print_field(&mut self, f: &Field) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ptype` is never used [INFO] [stderr] --> src/compiler/ast_printer.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | fn ptype(t: &Type) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jute-parser` (lib) generated 8 warnings [INFO] [stderr] warning: `jute-parser` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jute-bbf822c6ca42a5b0) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test code_generator::rust::tests::test_bool ... ok [INFO] [stdout] test code_generator::rust::tests::test_i32 ... ok [INFO] [stdout] test code_generator::rust::tests::test_map ... ok [INFO] [stdout] test code_generator::rust::tests::test_string ... ok [INFO] [stdout] test code_generator::rust::tests::test_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests jute [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/code_generator/rust/mod.rs - code_generator::rust::JuteSerializable (line 34) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 26) - compile ... ok [INFO] [stdout] test src/lib.rs - JuteGenerator (line 63) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.51s; merged doctests compilation took 0.51s [INFO] running `Command { std: "docker" "inspect" "31884b2182f1d2e19382362a946238afabe6654b8eb2e9755affa6465b87ec40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31884b2182f1d2e19382362a946238afabe6654b8eb2e9755affa6465b87ec40", kill_on_drop: false }` [INFO] [stdout] 31884b2182f1d2e19382362a946238afabe6654b8eb2e9755affa6465b87ec40