[INFO] fetching crate jute-parser 0.1.0... [INFO] testing jute-parser-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate jute-parser 0.1.0 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jute-parser 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8211cda595dc7da2aeca8c3a03faeeb8d2f9696609960777bd935091162122c3 [INFO] running `Command { std: "docker" "start" "-a" "8211cda595dc7da2aeca8c3a03faeeb8d2f9696609960777bd935091162122c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8211cda595dc7da2aeca8c3a03faeeb8d2f9696609960777bd935091162122c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8211cda595dc7da2aeca8c3a03faeeb8d2f9696609960777bd935091162122c3", kill_on_drop: false }` [INFO] [stdout] 8211cda595dc7da2aeca8c3a03faeeb8d2f9696609960777bd935091162122c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b79d792232c87eda880630159bce0202fa0bd2b6ef2fb13f463197388ce6fb1c [INFO] running `Command { std: "docker" "start" "-a" "b79d792232c87eda880630159bce0202fa0bd2b6ef2fb13f463197388ce6fb1c", 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 0.92s [INFO] running `Command { std: "docker" "inspect" "b79d792232c87eda880630159bce0202fa0bd2b6ef2fb13f463197388ce6fb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b79d792232c87eda880630159bce0202fa0bd2b6ef2fb13f463197388ce6fb1c", kill_on_drop: false }` [INFO] [stdout] b79d792232c87eda880630159bce0202fa0bd2b6ef2fb13f463197388ce6fb1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c65186257a8a72f0c5f41086712d718be52cfad6eba2cf7d615a3003a16d98c [INFO] running `Command { std: "docker" "start" "-a" "1c65186257a8a72f0c5f41086712d718be52cfad6eba2cf7d615a3003a16d98c", 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.89s [INFO] running `Command { std: "docker" "inspect" "1c65186257a8a72f0c5f41086712d718be52cfad6eba2cf7d615a3003a16d98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c65186257a8a72f0c5f41086712d718be52cfad6eba2cf7d615a3003a16d98c", kill_on_drop: false }` [INFO] [stdout] 1c65186257a8a72f0c5f41086712d718be52cfad6eba2cf7d615a3003a16d98c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3bb4a8212f24d8ba05a2c7e0bde57824a7c3026133a6f7c02800a1b3138b8f3e [INFO] running `Command { std: "docker" "start" "-a" "3bb4a8212f24d8ba05a2c7e0bde57824a7c3026133a6f7c02800a1b3138b8f3e", 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_i32 ... ok [INFO] [stdout] test code_generator::rust::tests::test_vec ... ok [INFO] [stdout] test code_generator::rust::tests::test_bool ... ok [INFO] [stdout] test code_generator::rust::tests::test_map ... ok [INFO] [stdout] test code_generator::rust::tests::test_string ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests jute [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [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 - JuteGenerator (line 63) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 26) - 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.54s; merged doctests compilation took 0.53s [INFO] running `Command { std: "docker" "inspect" "3bb4a8212f24d8ba05a2c7e0bde57824a7c3026133a6f7c02800a1b3138b8f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb4a8212f24d8ba05a2c7e0bde57824a7c3026133a6f7c02800a1b3138b8f3e", kill_on_drop: false }` [INFO] [stdout] 3bb4a8212f24d8ba05a2c7e0bde57824a7c3026133a6f7c02800a1b3138b8f3e