[INFO] fetching crate netcdf3 0.6.0... [INFO] building netcdf3-0.6.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate netcdf3 0.6.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netcdf3 0.6.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1015511c3d3f7aca7f4fd6b13040d2ac0d50f851b515787291fe3c5e5028b00e [INFO] running `Command { std: "docker" "start" "-a" "1015511c3d3f7aca7f4fd6b13040d2ac0d50f851b515787291fe3c5e5028b00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1015511c3d3f7aca7f4fd6b13040d2ac0d50f851b515787291fe3c5e5028b00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1015511c3d3f7aca7f4fd6b13040d2ac0d50f851b515787291fe3c5e5028b00e", kill_on_drop: false }` [INFO] [stdout] 1015511c3d3f7aca7f4fd6b13040d2ac0d50f851b515787291fe3c5e5028b00e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c273882d9b3f3bccb1aab014ae68934f85549aeb3b87e160d58b9734fcc481e [INFO] running `Command { std: "docker" "start" "-a" "3c273882d9b3f3bccb1aab014ae68934f85549aeb3b87e160d58b9734fcc481e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [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 4.40s [INFO] running `Command { std: "docker" "inspect" "3c273882d9b3f3bccb1aab014ae68934f85549aeb3b87e160d58b9734fcc481e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c273882d9b3f3bccb1aab014ae68934f85549aeb3b87e160d58b9734fcc481e", kill_on_drop: false }` [INFO] [stdout] 3c273882d9b3f3bccb1aab014ae68934f85549aeb3b87e160d58b9734fcc481e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1bb358e794fa7a5c97091e8067e060d7362a56b820fba66199cc4f458140fb9 [INFO] running `Command { std: "docker" "start" "-a" "c1bb358e794fa7a5c97091e8067e060d7362a56b820fba66199cc4f458140fb9", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [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 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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | 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:130:17 [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:17 [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:17 [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:482:13 [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:195:13 [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:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests_read_nc3_files.rs:791:13 [INFO] [stdout] | [INFO] [stdout] 791 | tmp_dir.close().unwrap() [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netcdf3` (test "tests_write_nc3_files") due to 1 previous error [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:757:13 [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:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | 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:17 [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" "c1bb358e794fa7a5c97091e8067e060d7362a56b820fba66199cc4f458140fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1bb358e794fa7a5c97091e8067e060d7362a56b820fba66199cc4f458140fb9", kill_on_drop: false }` [INFO] [stdout] c1bb358e794fa7a5c97091e8067e060d7362a56b820fba66199cc4f458140fb9