[INFO] fetching crate netcdf3 0.6.0... [INFO] testing netcdf3-0.6.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate netcdf3 0.6.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netcdf3 0.6.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e23e7bf08fb018f8753607f6bdc3543ee0e8c80172086139b3b514839c73789d [INFO] running `Command { std: "docker" "start" "-a" "e23e7bf08fb018f8753607f6bdc3543ee0e8c80172086139b3b514839c73789d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e23e7bf08fb018f8753607f6bdc3543ee0e8c80172086139b3b514839c73789d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23e7bf08fb018f8753607f6bdc3543ee0e8c80172086139b3b514839c73789d", kill_on_drop: false }` [INFO] [stdout] e23e7bf08fb018f8753607f6bdc3543ee0e8c80172086139b3b514839c73789d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12da85d19f485d5b16a855fb5f82752cacf3e78a06d0426ebb51b514f817ba33 [INFO] running `Command { std: "docker" "start" "-a" "12da85d19f485d5b16a855fb5f82752cacf3e78a06d0426ebb51b514f817ba33", 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.98s [INFO] running `Command { std: "docker" "inspect" "12da85d19f485d5b16a855fb5f82752cacf3e78a06d0426ebb51b514f817ba33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12da85d19f485d5b16a855fb5f82752cacf3e78a06d0426ebb51b514f817ba33", kill_on_drop: false }` [INFO] [stdout] 12da85d19f485d5b16a855fb5f82752cacf3e78a06d0426ebb51b514f817ba33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf1cb83f359fe6b22f69bc7001261a0ad1b965cc327beda6e3021af7ef8c056b [INFO] running `Command { std: "docker" "start" "-a" "bf1cb83f359fe6b22f69bc7001261a0ad1b965cc327beda6e3021af7ef8c056b", 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] 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] 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:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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: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] 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:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | tmp_dir.close().unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [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] --> 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[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" "bf1cb83f359fe6b22f69bc7001261a0ad1b965cc327beda6e3021af7ef8c056b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1cb83f359fe6b22f69bc7001261a0ad1b965cc327beda6e3021af7ef8c056b", kill_on_drop: false }` [INFO] [stdout] bf1cb83f359fe6b22f69bc7001261a0ad1b965cc327beda6e3021af7ef8c056b