[INFO] cloning repository https://github.com/enfipy/rustc-bug-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enfipy/rustc-bug-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenfipy%2Frustc-bug-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenfipy%2Frustc-bug-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5530c5c8004336a0c53495f2530fb0408373e4c0 [INFO] testing enfipy/rustc-bug-1 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenfipy%2Frustc-bug-1" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enfipy/rustc-bug-1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enfipy/rustc-bug-1 [INFO] finished tweaking git repo https://github.com/enfipy/rustc-bug-1 [INFO] tweaked toml for git repo https://github.com/enfipy/rustc-bug-1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/enfipy/rustc-bug-1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 669498b45bac71a2023971de779f8b5c9fd06f7a6389a7e895ed763db4825ea7 [INFO] running `Command { std: "docker" "start" "-a" "669498b45bac71a2023971de779f8b5c9fd06f7a6389a7e895ed763db4825ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669498b45bac71a2023971de779f8b5c9fd06f7a6389a7e895ed763db4825ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669498b45bac71a2023971de779f8b5c9fd06f7a6389a7e895ed763db4825ea7", kill_on_drop: false }` [INFO] [stdout] 669498b45bac71a2023971de779f8b5c9fd06f7a6389a7e895ed763db4825ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 88a497e6713b3b47021e459faa391fefa92167e14a7ac46ff3f3c11378cc8b8d [INFO] running `Command { std: "docker" "start" "-a" "88a497e6713b3b47021e459faa391fefa92167e14a7ac46ff3f3c11378cc8b8d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling byte-slice-cast v0.3.4 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling sr-std v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling environmental v1.0.2 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling integer-sqrt v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling trie-root v0.15.2 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling elastic-array v0.10.3 [INFO] [stderr] Compiling substrate-panic-handler v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling fixed-hash v0.5.1 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling once_cell v0.1.8 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling substrate-debug-derive v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling parity-util-mem v0.2.1 [INFO] [stderr] Compiling zeroize v1.0.0 [INFO] [stderr] Compiling merlin v1.3.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling schnorrkel v0.8.5 [INFO] [stderr] Compiling tiny-bip39 v0.6.2 [INFO] [stderr] Compiling ed25519-dalek v0.9.1 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling substrate-bip39 v0.3.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling paste v0.1.6 [INFO] [stderr] Compiling trie-db v0.15.2 [INFO] [stderr] Compiling memory-db v0.15.3 [INFO] [stderr] Compiling substrate-wasm-interface v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling substrate-primitives-storage v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.1.0 [INFO] [stderr] Compiling substrate-runtime-interface-proc-macro v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling parity-scale-codec v1.1.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sr-arithmetic v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling primitive-types v0.6.1 [INFO] [stderr] Compiling substrate-externalities v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling substrate-runtime-interface v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling substrate-primitives v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling substrate-trie v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling substrate-inherents v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling substrate-state-machine v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling sr-io v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling substrate-application-crypto v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | $crate::codec::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 406 | pub struct $outer( $inner ); [INFO] [stdout] | ------ this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/ed25519.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crate::app_crypto!(super, ED25519); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `$crate::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | $crate::codec::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 406 | pub struct $outer( $inner ); [INFO] [stdout] | ------ this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/ed25519.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crate::app_crypto!(super, ED25519); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `$crate::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | $crate::codec::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 406 | pub struct $outer( $inner ); [INFO] [stdout] | ------ this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/sr25519.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crate::app_crypto!(super, SR25519); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `$crate::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/lib.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | $crate::codec::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 406 | pub struct $outer( $inner ); [INFO] [stdout] | ------ this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/47b158b/primitives/application-crypto/src/sr25519.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crate::app_crypto!(super, SR25519); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `$crate::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0424`. [INFO] [stdout] [INFO] [stderr] error: could not compile `substrate-application-crypto` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "88a497e6713b3b47021e459faa391fefa92167e14a7ac46ff3f3c11378cc8b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a497e6713b3b47021e459faa391fefa92167e14a7ac46ff3f3c11378cc8b8d", kill_on_drop: false }` [INFO] [stdout] 88a497e6713b3b47021e459faa391fefa92167e14a7ac46ff3f3c11378cc8b8d