[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] checking enfipy/rustc-bug-1/5530c5c8004336a0c53495f2530fb0408373e4c0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenfipy%2Frustc-bug-1" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enfipy/rustc-bug-1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded elastic-array v0.10.3 [INFO] [stderr] Downloaded memory-db v0.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95cf6d602a912ba73a91620fe3a7bb8089abaf77bdb275e322fb7f343c1d13d8 [INFO] running `Command { std: "docker" "start" "-a" "95cf6d602a912ba73a91620fe3a7bb8089abaf77bdb275e322fb7f343c1d13d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95cf6d602a912ba73a91620fe3a7bb8089abaf77bdb275e322fb7f343c1d13d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cf6d602a912ba73a91620fe3a7bb8089abaf77bdb275e322fb7f343c1d13d8", kill_on_drop: false }` [INFO] [stdout] 95cf6d602a912ba73a91620fe3a7bb8089abaf77bdb275e322fb7f343c1d13d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b6aa70f31a065943ca377bd8e0a8edcfda085a38d2893a3f93a9baba4ec7431 [INFO] running `Command { std: "docker" "start" "-a" "4b6aa70f31a065943ca377bd8e0a8edcfda085a38d2893a3f93a9baba4ec7431", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking byte-slice-cast v0.3.4 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Checking bitvec v0.15.2 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking sr-std v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking fixed-hash v0.5.1 [INFO] [stderr] Checking uint v0.8.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Checking environmental v1.0.2 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Checking constant_time_eq v0.1.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking libsecp256k1 v0.3.2 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking elastic-array v0.10.3 [INFO] [stderr] Checking trie-root v0.15.2 [INFO] [stderr] Checking substrate-panic-handler v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking integer-sqrt v0.1.2 [INFO] [stderr] Compiling Inflector v0.11.4 [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] Checking zeroize v1.0.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Checking merlin v1.3.0 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.1 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Checking schnorrkel v0.8.5 [INFO] [stderr] Checking const-random v0.1.6 [INFO] [stderr] Checking tiny-bip39 v0.6.2 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking ed25519-dalek v0.9.1 [INFO] [stderr] Checking parity-util-mem v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Checking substrate-bip39 v0.3.1 [INFO] [stderr] Checking trie-db v0.15.2 [INFO] [stderr] Checking memory-db v0.15.3 [INFO] [stderr] Checking substrate-wasm-interface v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking substrate-primitives-storage v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Compiling toml v0.5.5 [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] Checking parity-scale-codec v1.1.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sr-arithmetic v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking primitive-types v0.6.1 [INFO] [stderr] Checking substrate-externalities v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking substrate-runtime-interface v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking substrate-primitives v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking substrate-trie v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking substrate-inherents v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking substrate-state-machine v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking sr-io v2.0.0 (https://github.com/paritytech/substrate.git?rev=47b158b7a04bf0f5cd542a468076a7fda29648a4#47b158b7) [INFO] [stderr] Checking 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:2 [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` which comes from the expansion of the macro `crate::app_crypto` (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:2 [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` which comes from the expansion of the macro `crate::app_crypto` (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:2 [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` which comes from the expansion of the macro `crate::app_crypto` (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:2 [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` which comes from the expansion of the macro `crate::app_crypto` (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` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "4b6aa70f31a065943ca377bd8e0a8edcfda085a38d2893a3f93a9baba4ec7431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6aa70f31a065943ca377bd8e0a8edcfda085a38d2893a3f93a9baba4ec7431", kill_on_drop: false }` [INFO] [stdout] 4b6aa70f31a065943ca377bd8e0a8edcfda085a38d2893a3f93a9baba4ec7431