[INFO] fetching crate netcdf3 0.6.0... [INFO] testing netcdf3-0.6.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate netcdf3 0.6.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate netcdf3 0.6.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate netcdf3 0.6.0 [INFO] tweaked toml for crates.io crate netcdf3 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate netcdf3 0.6.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate netcdf3 0.6.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed3e61cbb71f4d8e92a1969f91ee2d089cb9b92dc9704f5f81ffad5eadd6aec [INFO] running `Command { std: "docker" "start" "-a" "6ed3e61cbb71f4d8e92a1969f91ee2d089cb9b92dc9704f5f81ffad5eadd6aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed3e61cbb71f4d8e92a1969f91ee2d089cb9b92dc9704f5f81ffad5eadd6aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed3e61cbb71f4d8e92a1969f91ee2d089cb9b92dc9704f5f81ffad5eadd6aec", kill_on_drop: false }` [INFO] [stdout] 6ed3e61cbb71f4d8e92a1969f91ee2d089cb9b92dc9704f5f81ffad5eadd6aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27cdf2644f23a9c537913867ee2613fb7bc525117dc6026c32bf8eed9f86c77 [INFO] running `Command { std: "docker" "start" "-a" "e27cdf2644f23a9c537913867ee2613fb7bc525117dc6026c32bf8eed9f86c77", kill_on_drop: false }` [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling netcdf3 v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/io/file_writer.rs:710:87 [INFO] [stdout] | [INFO] [stdout] 710 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 710 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result, WriteError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/io/file_writer.rs:757:87 [INFO] [stdout] | [INFO] [stdout] 757 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 757 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result, WriteError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.94s [INFO] running `Command { std: "docker" "inspect" "e27cdf2644f23a9c537913867ee2613fb7bc525117dc6026c32bf8eed9f86c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27cdf2644f23a9c537913867ee2613fb7bc525117dc6026c32bf8eed9f86c77", kill_on_drop: false }` [INFO] [stdout] e27cdf2644f23a9c537913867ee2613fb7bc525117dc6026c32bf8eed9f86c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea10e74675dc4e7e155db98be3e180070f7363185e51f76be2ed47ec30972343 [INFO] running `Command { std: "docker" "start" "-a" "ea10e74675dc4e7e155db98be3e180070f7363185e51f76be2ed47ec30972343", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/io/file_writer.rs:710:87 [INFO] [stdout] | [INFO] [stdout] 710 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 710 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result, WriteError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/io/file_writer.rs:757:87 [INFO] [stdout] | [INFO] [stdout] 757 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 757 | fn new(data_set: &'a DataSet, version: Version, header_min_size: usize) -> Result, WriteError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling netcdf3 v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `copy_to_tmp_file` [INFO] [stdout] --> tests/tests_write_nc3_files.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use copy_to_tmp_file::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `copy_to_tmp_file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `copy_to_tmp_file`, use `cargo add copy_to_tmp_file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `copy_to_tmp_file` [INFO] [stdout] --> tests/tests_read_nc3_files.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use copy_to_tmp_file::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `copy_to_tmp_file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `copy_to_tmp_file`, use `cargo add copy_to_tmp_file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netcdf3` (test "tests_write_nc3_files") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | tmp_dir.close().unwrap() [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netcdf3` (test "tests_read_nc3_files") due to 11 previous errors [INFO] [stdout] error[E0432]: unresolved import `copy_to_tmp_file` [INFO] [stdout] --> src/io/file_writer/tests_computed_data_set_metadata.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use copy_to_tmp_file::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `copy_to_tmp_file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `copy_to_tmp_file`, use `cargo add copy_to_tmp_file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/io/file_writer/tests_computed_data_set_metadata.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netcdf3` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ea10e74675dc4e7e155db98be3e180070f7363185e51f76be2ed47ec30972343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea10e74675dc4e7e155db98be3e180070f7363185e51f76be2ed47ec30972343", kill_on_drop: false }` [INFO] [stdout] ea10e74675dc4e7e155db98be3e180070f7363185e51f76be2ed47ec30972343