[INFO] cloning repository https://github.com/jwestern/cdhydro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwestern/cdhydro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwestern%2Fcdhydro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwestern%2Fcdhydro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebd1cdd285f46f83102c71f61a571813222be30b [INFO] checking jwestern/cdhydro against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwestern%2Fcdhydro" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jwestern/cdhydro on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jwestern/cdhydro [INFO] finished tweaking git repo https://github.com/jwestern/cdhydro [INFO] tweaked toml for git repo https://github.com/jwestern/cdhydro written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jwestern/cdhydro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray-npy v0.8.0 [INFO] [stderr] Downloaded py_literal v0.4.0 [INFO] [stderr] Downloaded unittest v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 945a2eb98c30365be4579cf377f1685d6f4de3affd7bc2df2d4f3c17500ac813 [INFO] running `Command { std: "docker" "start" "-a" "945a2eb98c30365be4579cf377f1685d6f4de3affd7bc2df2d4f3c17500ac813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "945a2eb98c30365be4579cf377f1685d6f4de3affd7bc2df2d4f3c17500ac813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "945a2eb98c30365be4579cf377f1685d6f4de3affd7bc2df2d4f3c17500ac813", kill_on_drop: false }` [INFO] [stdout] 945a2eb98c30365be4579cf377f1685d6f4de3affd7bc2df2d4f3c17500ac813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a974fe6a4bfbc0c640dbd2fe8d42807b4cea10244aaecfdceb9db6b660fb4a44 [INFO] running `Command { std: "docker" "start" "-a" "a974fe6a4bfbc0c640dbd2fe8d42807b4cea10244aaecfdceb9db6b660fb4a44", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.4.3 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unittest v0.1.0 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking ndarray-npy v0.8.0 [INFO] [stderr] Checking cdhydro v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stdout] error[E0425]: cannot find function `write_npy` in this scope [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | write_npy("test.npy", &zeros); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 | use ndarray_npy::write_npy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_npy` in this scope [INFO] [stdout] --> src/main.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | let recover: Array2 = read_npy("test.npy").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 | use ndarray_npy::read_npy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NpzWriter` [INFO] [stdout] --> src/main.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let mut npz = NpzWriter::new(File::create("test.npz").unwrap()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 | use ndarray_npy::NpzWriter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | let mut npz = NpzWriter::new(File::create("test.npz").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NpzReader` [INFO] [stdout] --> src/main.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let mut npzread = NpzReader::new(File::open("test.npz").unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 | use ndarray_npy::NpzReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | let mut npzread = NpzReader::new(File::open("test.npz").unwrap()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KAPPA` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const KAPPA: f64 = 100.0; // eos par [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GAMMA` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const GAMMA: f64 = 2.0; // eos par [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AGP` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const AGP: f64 = 0.0; // "a" in generalized polytrope [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NP` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const NP: f64 = 1.0 / (GAMMA - 1.0); // eos par [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fmx_imh` [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn fmx_imh(f: Array2, N: isize) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fpy_iph` [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn fpy_iph(f: Array2, N: isize) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fmy_imh` [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn fmy_imh(f: Array2, N: isize) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rootdet` [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn rootdet(gxx: &Array2, gxy: &Array2, gyy: &Array2) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enthalpy` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn enthalpy(self) -> Array2:: { self.clone().0 } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vx` [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn vx( self) -> Array2:: { self.clone().1 } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vy` [INFO] [stdout] --> src/main.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn vy( self) -> Array2:: { self.clone().2 } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mass_density` [INFO] [stdout] --> src/main.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn mass_density(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pressure` [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn pressure(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sound_speed` [INFO] [stdout] --> src/main.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn sound_speed(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eigenval_x_p` [INFO] [stdout] --> src/main.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn eigenval_x_p(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eigenval_x_m` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn eigenval_x_m(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eigenval_y_p` [INFO] [stdout] --> src/main.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn eigenval_y_p(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eigenval_y_m` [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn eigenval_y_m(self) -> Array2:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_signal_speed` [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn max_signal_speed(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lorentz` [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn lorentz(self, gxx: &Array2, gxy: &Array2, gyy: &Array2) -> Array2:: { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `primtocon` [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn primtocon(self, gxx: Array2, gxy: Array2, gyy: Array2) -> Conserved { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cdhydro` due to 7 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a974fe6a4bfbc0c640dbd2fe8d42807b4cea10244aaecfdceb9db6b660fb4a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a974fe6a4bfbc0c640dbd2fe8d42807b4cea10244aaecfdceb9db6b660fb4a44", kill_on_drop: false }` [INFO] [stdout] a974fe6a4bfbc0c640dbd2fe8d42807b4cea10244aaecfdceb9db6b660fb4a44