[INFO] fetching crate autograd 2.0.0-rc1... [INFO] testing autograd-2.0.0-rc1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate autograd 2.0.0-rc1 into /workspace/builds/worker-54/source [INFO] validating manifest of crates.io crate autograd 2.0.0-rc1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate autograd 2.0.0-rc1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate autograd 2.0.0-rc1 [INFO] tweaked toml for crates.io crate autograd 2.0.0-rc1 written to /workspace/builds/worker-54/source/Cargo.toml [INFO] crate crates.io crate autograd 2.0.0-rc1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03839b038f2508d990cfabbf2eb86687c2fdd1704f0e826e74dcc6e4e7cc4dfc [INFO] running `Command { std: "docker" "start" "-a" "03839b038f2508d990cfabbf2eb86687c2fdd1704f0e826e74dcc6e4e7cc4dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03839b038f2508d990cfabbf2eb86687c2fdd1704f0e826e74dcc6e4e7cc4dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03839b038f2508d990cfabbf2eb86687c2fdd1704f0e826e74dcc6e4e7cc4dfc", kill_on_drop: false }` [INFO] [stdout] 03839b038f2508d990cfabbf2eb86687c2fdd1704f0e826e74dcc6e4e7cc4dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73268caac254a9937fc37ac12474f41e410c72441f9443c415148096843b069e [INFO] running `Command { std: "docker" "start" "-a" "73268caac254a9937fc37ac12474f41e410c72441f9443c415148096843b069e", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling special v0.8.1 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand_distr v0.4.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling autograd v2.0.0-rc1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.94s [INFO] running `Command { std: "docker" "inspect" "73268caac254a9937fc37ac12474f41e410c72441f9443c415148096843b069e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73268caac254a9937fc37ac12474f41e410c72441f9443c415148096843b069e", kill_on_drop: false }` [INFO] [stdout] 73268caac254a9937fc37ac12474f41e410c72441f9443c415148096843b069e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1be1fdab0f1da4f630b0f95e130341c56c6c8f217f9fc81c68082e6fb4e9dd68 [INFO] running `Command { std: "docker" "start" "-a" "1be1fdab0f1da4f630b0f95e130341c56c6c8f217f9fc81c68082e6fb4e9dd68", kill_on_drop: false }` [INFO] [stderr] Compiling autograd v2.0.0-rc1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_array_gen.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(a.all_close(&ndarray::arr1(&[0.5, 0.5, 0.5]), 0.5)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_array_gen.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | assert!(a.all_close(&ndarray::arr1(&[0.5, 0.5, 0.5]), 0.5)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_core.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | c.eval(g); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_core.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | c.eval(g); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | ret.all_close(&ans, 1e-4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/graph.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let a = T::zeros(&[1], g); [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> src/graph.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let b = T::zeros(&[1], g2); [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_array_gen.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(a.all_close(&ndarray::arr1(&[0.5, 0.5, 0.5]), 0.5)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_array_gen.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | assert!(a.all_close(&ndarray::arr1(&[0.5, 0.5, 0.5]), 0.5)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/variable.rs:815:33 [INFO] [stdout] | [INFO] [stdout] 815 | let loaded_env_map: HashMap<_, _> = loaded_env.iter().collect(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-hash-1.1.0/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub type FxHashMap = HashMap>; [INFO] [stdout] | ----------------------------------------------------------------------- similarly named type alias `FxHashMap` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 815 | let loaded_env_map: FxHashMap<_, _> = loaded_env.iter().collect(); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 72 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | ret.all_close(&ans, 1e-4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `test_array_gen::ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> tests/test_tensor_ops_eval.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | assert!(ret.all_close(&ans, 1e-4)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_core.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | c.eval(g); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_core.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | c.eval(g); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::numeric::impl_numeric::>::all_close`: Use `abs_diff_eq` - it requires the `approx` crate feature [INFO] [stdout] --> src/tensor_ops/conv_ops/conv2d_transpose.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | out_val.all_close(&ans, 1e-3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autograd` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1be1fdab0f1da4f630b0f95e130341c56c6c8f217f9fc81c68082e6fb4e9dd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be1fdab0f1da4f630b0f95e130341c56c6c8f217f9fc81c68082e6fb4e9dd68", kill_on_drop: false }` [INFO] [stdout] 1be1fdab0f1da4f630b0f95e130341c56c6c8f217f9fc81c68082e6fb4e9dd68