[INFO] fetching crate despatma 0.1.0... [INFO] checking despatma-0.1.0 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate despatma 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate despatma 0.1.0 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate despatma 0.1.0 [INFO] finished tweaking crates.io crate despatma 0.1.0 [INFO] tweaked toml for crates.io crate despatma 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded despatma-lib v0.1.0 [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" "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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", 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] f2d7bf24ea2e086fce7de016bd15a270ba8a3b70c87187ba4ed9c8e0a3ad7c2d [INFO] running `Command { std: "docker" "start" "-a" "f2d7bf24ea2e086fce7de016bd15a270ba8a3b70c87187ba4ed9c8e0a3ad7c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d7bf24ea2e086fce7de016bd15a270ba8a3b70c87187ba4ed9c8e0a3ad7c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d7bf24ea2e086fce7de016bd15a270ba8a3b70c87187ba4ed9c8e0a3ad7c2d", kill_on_drop: false }` [INFO] [stdout] f2d7bf24ea2e086fce7de016bd15a270ba8a3b70c87187ba4ed9c8e0a3ad7c2d [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" "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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a89ca1902db35e7d8abef0a35fa4249663f4d8deb524637127a6029a4445a6c [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" "7a89ca1902db35e7d8abef0a35fa4249663f4d8deb524637127a6029a4445a6c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking proc-macro2 v1.0.32 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tokenstream2-tmpl v0.1.1 [INFO] [stderr] Compiling despatma-lib v0.1.0 [INFO] [stderr] Checking despatma v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.72 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.52 [INFO] [stderr] Checking macrotest v1.0.8 [INFO] [stdout] error[E0432]: unresolved import `despatma_test_helpers` [INFO] [stdout] --> src/abstract_factory.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use despatma_test_helpers::reformat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `despatma_test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `despatma_test_helpers` [INFO] [stdout] --> src/visitor.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use despatma_test_helpers::reformat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `despatma_test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnnotatedType: std::cmp::Eq` is not satisfied [INFO] [stdout] --> src/visitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(test, derive(Eq, PartialEq, Debug))] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] 29 | pub struct VisitorFunction { [INFO] [stdout] 30 | types: Punctuated, Token![,]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `AnnotatedType` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::cmp::Eq` for `syn::punctuated::Punctuated, Comma>` [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `syn::punctuated::Punctuated, Comma>` [INFO] [stdout] --> src/visitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(test, derive(Eq, PartialEq, Debug))] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 29 | pub struct VisitorFunction { [INFO] [stdout] 30 | types: Punctuated, Token![,]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `syn::punctuated::Punctuated, Comma>` [INFO] [stdout] --> src/visitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(test, derive(Eq, PartialEq, Debug))] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 29 | pub struct VisitorFunction { [INFO] [stdout] 30 | types: Punctuated, Token![,]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnnotatedType` doesn't implement `Debug` [INFO] [stdout] --> src/visitor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(test, derive(Eq, PartialEq, Debug))] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 29 | pub struct VisitorFunction { [INFO] [stdout] 30 | types: Punctuated, Token![,]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnnotatedType` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnnotatedType` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `despatma` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "7a89ca1902db35e7d8abef0a35fa4249663f4d8deb524637127a6029a4445a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a89ca1902db35e7d8abef0a35fa4249663f4d8deb524637127a6029a4445a6c", kill_on_drop: false }` [INFO] [stdout] 7a89ca1902db35e7d8abef0a35fa4249663f4d8deb524637127a6029a4445a6c