[INFO] fetching crate autograph_derive 0.0.1... [INFO] testing autograph_derive-0.0.1 against 1.45.2 for beta-1.46-1 [INFO] extracting crate autograph_derive 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate autograph_derive 0.0.1 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adc1c3a17c9c68ef6c961c8b5363f0651c91006a973ed05d0babb240e8304370 [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" "adc1c3a17c9c68ef6c961c8b5363f0651c91006a973ed05d0babb240e8304370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adc1c3a17c9c68ef6c961c8b5363f0651c91006a973ed05d0babb240e8304370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc1c3a17c9c68ef6c961c8b5363f0651c91006a973ed05d0babb240e8304370", kill_on_drop: false }` [INFO] [stdout] adc1c3a17c9c68ef6c961c8b5363f0651c91006a973ed05d0babb240e8304370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d8234f7704d665c63d2843da044c24bd448583d3a5b5fde1c8e6ce101d7826e [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" "7d8234f7704d665c63d2843da044c24bd448583d3a5b5fde1c8e6ce101d7826e", kill_on_drop: false }` [INFO] [stderr] Compiling autograph_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "7d8234f7704d665c63d2843da044c24bd448583d3a5b5fde1c8e6ce101d7826e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8234f7704d665c63d2843da044c24bd448583d3a5b5fde1c8e6ce101d7826e", kill_on_drop: false }` [INFO] [stdout] 7d8234f7704d665c63d2843da044c24bd448583d3a5b5fde1c8e6ce101d7826e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bc5fa41c6dd40987b12f0ec5257201134c820e69e1f6ff77dbc243442fbc81a [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" "1bc5fa41c6dd40987b12f0ec5257201134c820e69e1f6ff77dbc243442fbc81a", 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.74s [INFO] running `Command { std: "docker" "inspect" "1bc5fa41c6dd40987b12f0ec5257201134c820e69e1f6ff77dbc243442fbc81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc5fa41c6dd40987b12f0ec5257201134c820e69e1f6ff77dbc243442fbc81a", kill_on_drop: false }` [INFO] [stdout] 1bc5fa41c6dd40987b12f0ec5257201134c820e69e1f6ff77dbc243442fbc81a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4deda959a2a8327326f00a1a0ebe7caa2cb3959d422b573dc484922bb01d284 [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" "a4deda959a2a8327326f00a1a0ebe7caa2cb3959d422b573dc484922bb01d284", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/autograph_derive-87fd119478f89b37 [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] [stderr] Running /opt/rustwide/target/debug/deps/integration_tests-a6df5c587944edae [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] [stderr] Doc-tests autograph_derive [INFO] [stdout] [INFO] [stdout] running 2 tests [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 type 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 type or module `autograph` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `autograph` [INFO] [stdout] --> src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 4 | use autograph::layer::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type 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 type 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] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a4deda959a2a8327326f00a1a0ebe7caa2cb3959d422b573dc484922bb01d284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4deda959a2a8327326f00a1a0ebe7caa2cb3959d422b573dc484922bb01d284", kill_on_drop: false }` [INFO] [stdout] a4deda959a2a8327326f00a1a0ebe7caa2cb3959d422b573dc484922bb01d284