[INFO] fetching crate autograph_derive 0.0.1... [INFO] testing autograph_derive-0.0.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate autograph_derive 0.0.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate autograph_derive 0.0.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate autograph_derive 0.0.1 [INFO] finished tweaking crates.io crate autograph_derive 0.0.1 [INFO] tweaked toml for crates.io crate autograph_derive 0.0.1 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f687adfe676cc579853ff0a525ce7c640d5badade687cd8ecea78e1f2d0331a0 [INFO] running `Command { std: "docker" "start" "-a" "f687adfe676cc579853ff0a525ce7c640d5badade687cd8ecea78e1f2d0331a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f687adfe676cc579853ff0a525ce7c640d5badade687cd8ecea78e1f2d0331a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f687adfe676cc579853ff0a525ce7c640d5badade687cd8ecea78e1f2d0331a0", kill_on_drop: false }` [INFO] [stdout] f687adfe676cc579853ff0a525ce7c640d5badade687cd8ecea78e1f2d0331a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd6c814790e6e8c5f70579367f5b882c339ac22ea46b6dbc3d25e31caf03eba7 [INFO] running `Command { std: "docker" "start" "-a" "fd6c814790e6e8c5f70579367f5b882c339ac22ea46b6dbc3d25e31caf03eba7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autograph_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.18s [INFO] running `Command { std: "docker" "inspect" "fd6c814790e6e8c5f70579367f5b882c339ac22ea46b6dbc3d25e31caf03eba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd6c814790e6e8c5f70579367f5b882c339ac22ea46b6dbc3d25e31caf03eba7", kill_on_drop: false }` [INFO] [stdout] fd6c814790e6e8c5f70579367f5b882c339ac22ea46b6dbc3d25e31caf03eba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd262d7b74ff3ef1c9be2da6ddf2395810da18454daa26b591b5860f85312c12 [INFO] running `Command { std: "docker" "start" "-a" "bd262d7b74ff3ef1c9be2da6ddf2395810da18454daa26b591b5860f85312c12", kill_on_drop: false }` [INFO] [stderr] Compiling autograph_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "bd262d7b74ff3ef1c9be2da6ddf2395810da18454daa26b591b5860f85312c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd262d7b74ff3ef1c9be2da6ddf2395810da18454daa26b591b5860f85312c12", kill_on_drop: false }` [INFO] [stdout] bd262d7b74ff3ef1c9be2da6ddf2395810da18454daa26b591b5860f85312c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4e12beb922e2802740c8d958facd4eaa726c89141a611bb6b493db517e9e0d3 [INFO] running `Command { std: "docker" "start" "-a" "f4e12beb922e2802740c8d958facd4eaa726c89141a611bb6b493db517e9e0d3", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/autograph_derive-47b5ce48938ab5f9) [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-0e4445476286eedd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests autograph_derive [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Layer` in this scope [INFO] [stdout] --> src/lib.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Layer for Lenet5 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lenet5` in this scope [INFO] [stdout] --> src/lib.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 3 | impl Layer for Lenet5 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParameterD` in this scope [INFO] [stdout] --> src/lib.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 3 | impl Layer for Lenet5 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | fn parameters(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Forward` in this scope [INFO] [stdout] --> src/lib.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Forward for Lenet5 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ix4` in this scope [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 36 | impl Forward for Lenet5 { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lenet5` in this scope [INFO] [stdout] --> src/lib.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 36 | impl Forward for Lenet5 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ix2` in this scope [INFO] [stdout] --> src/lib.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 37 | type OutputDim = Ix2; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variable` in this scope [INFO] [stdout] --> src/lib.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn forward(&self, input: &Variable) -> Variable { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ix4` in this scope [INFO] [stdout] --> src/lib.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 36 | impl Forward for Lenet5 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | type OutputDim = Ix2; [INFO] [stdout] 38 | fn forward(&self, input: &Variable) -> Variable { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variable` in this scope [INFO] [stdout] --> src/lib.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 38 | fn forward(&self, input: &Variable) -> Variable { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ix2` in this scope [INFO] [stdout] --> src/lib.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 36 | impl Forward for Lenet5 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | type OutputDim = Ix2; [INFO] [stdout] 38 | fn forward(&self, input: &Variable) -> Variable { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `autograph` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use autograph::autograd::{Variable, ParameterD}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `autograph` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `autograph` [INFO] [stdout] --> src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 4 | use autograph::layer::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `autograph` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> src/lib.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 13 | use ndarray::{Ix2, Ix4}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Layer` in this scope [INFO] [stdout] --> src/lib.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Layer)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `impl_forward` in this scope [INFO] [stdout] --> src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 15 | #[impl_forward(Ix4, Ix2)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conv2d` in this scope [INFO] [stdout] --> src/lib.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 18 | Conv2d, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Relu` in this scope [INFO] [stdout] --> src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 19 | Relu, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MaxPool2d` in this scope [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 20 | MaxPool2d, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conv2d` in this scope [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 21 | Conv2d, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Relu` in this scope [INFO] [stdout] --> src/lib.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 22 | Relu, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MaxPool2d` in this scope [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 23 | MaxPool2d, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flatten` in this scope [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 24 | Flatten, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Flatten; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Flatten; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dense` in this scope [INFO] [stdout] --> src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 25 | Dense, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Relu` in this scope [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 26 | Relu, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dense` in this scope [INFO] [stdout] --> src/lib.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 27 | Dense, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Relu` in this scope [INFO] [stdout] --> src/lib.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | Relu, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dense` in this scope [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 29 | Dense [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f4e12beb922e2802740c8d958facd4eaa726c89141a611bb6b493db517e9e0d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e12beb922e2802740c8d958facd4eaa726c89141a611bb6b493db517e9e0d3", kill_on_drop: false }` [INFO] [stdout] f4e12beb922e2802740c8d958facd4eaa726c89141a611bb6b493db517e9e0d3