[INFO] fetching crate autograph_derive 0.0.1... [INFO] testing autograph_derive-0.0.1 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate autograph_derive 0.0.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate autograph_derive 0.0.1 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6587399286d03bf0543dd73a78b644b666838355f5c2e677dbb08cc4e78b4799 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6587399286d03bf0543dd73a78b644b666838355f5c2e677dbb08cc4e78b4799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6587399286d03bf0543dd73a78b644b666838355f5c2e677dbb08cc4e78b4799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6587399286d03bf0543dd73a78b644b666838355f5c2e677dbb08cc4e78b4799", kill_on_drop: false }` [INFO] [stdout] 6587399286d03bf0543dd73a78b644b666838355f5c2e677dbb08cc4e78b4799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bda8429f73c0f07816994d2db98e1ffbbcdf56d4fa6288913d0f06fda39e6a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5bda8429f73c0f07816994d2db98e1ffbbcdf56d4fa6288913d0f06fda39e6a2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling autograph_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.46s [INFO] running `Command { std: "docker" "inspect" "5bda8429f73c0f07816994d2db98e1ffbbcdf56d4fa6288913d0f06fda39e6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bda8429f73c0f07816994d2db98e1ffbbcdf56d4fa6288913d0f06fda39e6a2", kill_on_drop: false }` [INFO] [stdout] 5bda8429f73c0f07816994d2db98e1ffbbcdf56d4fa6288913d0f06fda39e6a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c9727a9c4f2fb4a45831f2af0961aff7f8746e25704cfc71f0243b23d702c00 [INFO] running `Command { std: "docker" "start" "-a" "0c9727a9c4f2fb4a45831f2af0961aff7f8746e25704cfc71f0243b23d702c00", kill_on_drop: false }` [INFO] [stderr] Compiling autograph_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "0c9727a9c4f2fb4a45831f2af0961aff7f8746e25704cfc71f0243b23d702c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9727a9c4f2fb4a45831f2af0961aff7f8746e25704cfc71f0243b23d702c00", kill_on_drop: false }` [INFO] [stdout] 0c9727a9c4f2fb4a45831f2af0961aff7f8746e25704cfc71f0243b23d702c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f66a0541a4b968c892375eeab522b44905b89ee413b307e3c5c90eba9aeb5c1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1f66a0541a4b968c892375eeab522b44905b89ee413b307e3c5c90eba9aeb5c1", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/autograph_derive-f477d30db643a40d [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/integration_tests-42dcdec48dd7fee1 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f66a0541a4b968c892375eeab522b44905b89ee413b307e3c5c90eba9aeb5c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f66a0541a4b968c892375eeab522b44905b89ee413b307e3c5c90eba9aeb5c1", kill_on_drop: false }` [INFO] [stdout] 1f66a0541a4b968c892375eeab522b44905b89ee413b307e3c5c90eba9aeb5c1