[INFO] fetching crate fmi 0.2.1... [INFO] checking fmi-0.2.1 against try#7306d3110618f84a6a4662b9e2cc4fd0d9b02da8 for pr-97346 [INFO] extracting crate fmi 0.2.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate fmi 0.2.1 on toolchain 7306d3110618f84a6a4662b9e2cc4fd0d9b02da8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fmi 0.2.1 [INFO] finished tweaking crates.io crate fmi 0.2.1 [INFO] tweaked toml for crates.io crate fmi 0.2.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate fmi 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f4cdce8253b46e82829599df359a3ac9d327a10d518478481c6decc45f5c9f2 [INFO] running `Command { std: "docker" "start" "-a" "0f4cdce8253b46e82829599df359a3ac9d327a10d518478481c6decc45f5c9f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f4cdce8253b46e82829599df359a3ac9d327a10d518478481c6decc45f5c9f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4cdce8253b46e82829599df359a3ac9d327a10d518478481c6decc45f5c9f2", kill_on_drop: false }` [INFO] [stdout] 0f4cdce8253b46e82829599df359a3ac9d327a10d518478481c6decc45f5c9f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+7306d3110618f84a6a4662b9e2cc4fd0d9b02da8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccaad5ed9fa91619b3f0ba9683cebcfb28e74c6a7f23381295e0372b3001bb05 [INFO] running `Command { std: "docker" "start" "-a" "ccaad5ed9fa91619b3f0ba9683cebcfb28e74c6a7f23381295e0372b3001bb05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking xml-rs v0.8.0 [INFO] [stderr] Checking encode_unicode v0.3.5 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking miniz_oxide v0.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking rust_decimal v0.10.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking csv v1.0.7 [INFO] [stderr] Checking serde-xml-rs v0.4.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking dtparse v1.0.3 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Compiling built v0.4.3 [INFO] [stderr] Compiling fmi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/logger.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / /// This function is implemented in logger.c [INFO] [stdout] 45 | | /// Note: This can be re-implemented in pure Rust once the `c_variadics` feature stabilizes. [INFO] [stdout] 46 | | /// See: https://doc.rust-lang.org/beta/unstable-book/language-features/c-variadic.html [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] 47 | #[link(name = "logger", kind = "static")] [INFO] [stdout] 48 | / extern "C" { [INFO] [stdout] 49 | | pub(crate) fn callback_logger_handler( [INFO] [stdout] 50 | | componentEnvironment: fmi::fmi2ComponentEnvironment, [INFO] [stdout] 51 | | instanceName: fmi::fmi2String, [INFO] [stdout] ... | [INFO] [stdout] 56 | | ); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model_descr::ModelDescriptionError` [INFO] [stdout] --> src/instance.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | use crate::model_descr::ModelDescriptionError; [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] --> src/logger.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / /// This function is implemented in logger.c [INFO] [stdout] 45 | | /// Note: This can be re-implemented in pure Rust once the `c_variadics` feature stabilizes. [INFO] [stdout] 46 | | /// See: https://doc.rust-lang.org/beta/unstable-book/language-features/c-variadic.html [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] 47 | #[link(name = "logger", kind = "static")] [INFO] [stdout] 48 | / extern "C" { [INFO] [stdout] 49 | | pub(crate) fn callback_logger_handler( [INFO] [stdout] 50 | | componentEnvironment: fmi::fmi2ComponentEnvironment, [INFO] [stdout] 51 | | instanceName: fmi::fmi2String, [INFO] [stdout] ... | [INFO] [stdout] 56 | | ); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/import.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let me = import.container_me().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_file` [INFO] [stdout] --> examples/fmi_check.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | input_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_file` [INFO] [stdout] --> examples/fmi_check.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | output_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_log` [INFO] [stdout] --> examples/fmi_check.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | error_log: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp_dir` [INFO] [stdout] --> examples/fmi_check.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | temp_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `separator` [INFO] [stdout] --> examples/fmi_check.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | separator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `print_left_limit` [INFO] [stdout] --> examples/fmi_check.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | print_left_limit: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `print_all_variables` [INFO] [stdout] --> examples/fmi_check.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | print_all_variables: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mangle_names` [INFO] [stdout] --> examples/fmi_check.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | mangle_names: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FmiCheckOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/fmi_check.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.15s [INFO] running `Command { std: "docker" "inspect" "ccaad5ed9fa91619b3f0ba9683cebcfb28e74c6a7f23381295e0372b3001bb05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccaad5ed9fa91619b3f0ba9683cebcfb28e74c6a7f23381295e0372b3001bb05", kill_on_drop: false }` [INFO] [stdout] ccaad5ed9fa91619b3f0ba9683cebcfb28e74c6a7f23381295e0372b3001bb05