[INFO] fetching crate autograph_derive 0.1.0... [INFO] checking autograph_derive-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate autograph_derive 0.1.0 into /workspace/builds/worker-57/source [INFO] validating manifest of crates.io crate autograph_derive 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate autograph_derive 0.1.0 [INFO] finished tweaking crates.io crate autograph_derive 0.1.0 [INFO] tweaked toml for crates.io crate autograph_derive 0.1.0 written to /workspace/builds/worker-57/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37fbf9c84cef33c098da98e91f7e821270843896148f53a57d8efa31cb1634df [INFO] running `Command { std: "docker" "start" "-a" "37fbf9c84cef33c098da98e91f7e821270843896148f53a57d8efa31cb1634df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37fbf9c84cef33c098da98e91f7e821270843896148f53a57d8efa31cb1634df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fbf9c84cef33c098da98e91f7e821270843896148f53a57d8efa31cb1634df", kill_on_drop: false }` [INFO] [stdout] 37fbf9c84cef33c098da98e91f7e821270843896148f53a57d8efa31cb1634df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230f7ce0fc06c3f979c3acc7a275d5fd779b7358524fbde6978239b4f647a87d [INFO] running `Command { std: "docker" "start" "-a" "230f7ce0fc06c3f979c3acc7a275d5fd779b7358524fbde6978239b4f647a87d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking autograph_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `autograph` [INFO] [stdout] --> tests/integration_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use autograph::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `autograph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Layer` in this scope [INFO] [stdout] --> tests/integration_tests.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Layer)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] autograph_derive::Layer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[autograph(parameter)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[autograph(optional_parameter)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Layer` in this scope [INFO] [stdout] --> tests/integration_tests.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Layer, Forward)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] autograph_derive::Layer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Forward` in this scope [INFO] [stdout] --> tests/integration_tests.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Layer, Forward)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] autograph_derive::Forward [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[autograph(layer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[autograph(optional_layer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Autograd` in this scope [INFO] [stdout] --> tests/integration_tests.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Autograd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] autograph_derive::Autograd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[autograph(vertex)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[autograph(vertex)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[autograph(optional_vertex)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Autograd` in this scope [INFO] [stdout] --> tests/integration_tests.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Autograd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] autograph_derive::Autograd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[autograph(gradient)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[autograph(optional_gradient)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Autograd` in this scope [INFO] [stdout] --> tests/integration_tests.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Autograd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] autograph_derive::Autograd [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `autograph` in this scope [INFO] [stdout] --> tests/integration_tests.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[autograph(gradient)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParameterD` in this scope [INFO] [stdout] --> tests/integration_tests.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | weight: ParameterD, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParameterD` in this scope [INFO] [stdout] --> tests/integration_tests.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct DenseLayer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 18 | bias: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Forward` in this scope [INFO] [stdout] --> tests/integration_tests.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl Forward for DenseLayer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariableD` in this scope [INFO] [stdout] --> tests/integration_tests.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn forward(&self, _input: VariableD) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariableD` in this scope [INFO] [stdout] --> tests/integration_tests.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 21 | impl Forward for DenseLayer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 22 | fn forward(&self, _input: VariableD) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variable2` in this scope [INFO] [stdout] --> tests/integration_tests.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | input: Variable2, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameter2` in this scope [INFO] [stdout] --> tests/integration_tests.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | weight: Parameter2, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameter1` in this scope [INFO] [stdout] --> tests/integration_tests.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 36 | struct DenseBackward { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | bias: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatArcTensor2` in this scope [INFO] [stdout] --> tests/integration_tests.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | _input: FloatArcTensor2, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gradient2` in this scope [INFO] [stdout] --> tests/integration_tests.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | input_grad: Gradient2, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatArcTensor2` in this scope [INFO] [stdout] --> tests/integration_tests.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | _weight: FloatArcTensor2, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gradient2` in this scope [INFO] [stdout] --> tests/integration_tests.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 46 | struct DotBackward { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 52 | weight_grad: Option, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariableGradientD` in this scope [INFO] [stdout] --> tests/integration_tests.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | input_grad: VariableGradientD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatArcTensorD` in this scope [INFO] [stdout] --> tests/integration_tests.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | _output: FloatArcTensorD, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autograph_derive` due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "230f7ce0fc06c3f979c3acc7a275d5fd779b7358524fbde6978239b4f647a87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230f7ce0fc06c3f979c3acc7a275d5fd779b7358524fbde6978239b4f647a87d", kill_on_drop: false }` [INFO] [stdout] 230f7ce0fc06c3f979c3acc7a275d5fd779b7358524fbde6978239b4f647a87d