[INFO] cloning repository https://github.com/yuki-js/rustc-bug-nightly-0824 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuki-js/rustc-bug-nightly-0824" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-js%2Frustc-bug-nightly-0824", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-js%2Frustc-bug-nightly-0824'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa68899a2dd016b9bfd70a182ee43f2d8a8fd9fd [INFO] checking yuki-js/rustc-bug-nightly-0824 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-js%2Frustc-bug-nightly-0824" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuki-js/rustc-bug-nightly-0824 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuki-js/rustc-bug-nightly-0824 [INFO] finished tweaking git repo https://github.com/yuki-js/rustc-bug-nightly-0824 [INFO] tweaked toml for git repo https://github.com/yuki-js/rustc-bug-nightly-0824 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/yuki-js/rustc-bug-nightly-0824 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1628b524f7a899b65e54092545bfc586ab8d635b53abe207bc7f42485d72976d [INFO] running `Command { std: "docker" "start" "-a" "1628b524f7a899b65e54092545bfc586ab8d635b53abe207bc7f42485d72976d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1628b524f7a899b65e54092545bfc586ab8d635b53abe207bc7f42485d72976d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1628b524f7a899b65e54092545bfc586ab8d635b53abe207bc7f42485d72976d", kill_on_drop: false }` [INFO] [stdout] 1628b524f7a899b65e54092545bfc586ab8d635b53abe207bc7f42485d72976d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 888760f595ddcb6ba25f485e60332d5373c4f61f3d002ab211c39a43d6ce05fb [INFO] running `Command { std: "docker" "start" "-a" "888760f595ddcb6ba25f485e60332d5373c4f61f3d002ab211c39a43d6ce05fb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking bitmask v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Checking parity-scale-codec v1.3.1 [INFO] [stderr] Checking rustc-bug-nightly-0824 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 6 | / bitmask! { [INFO] [stdout] 7 | | /// Reasons for moving funds out of an account. [INFO] [stdout] 8 | | #[derive(Encode, Decode)] [INFO] [stdout] | | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] 9 | | pub mask Withdraw2Reasons: i8 where [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main2` in this scope [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn main() -> i8{ [INFO] [stdout] | ------------------- similarly named function `main` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(main(), main2()); [INFO] [stdout] | ^^^^^ help: a function with a similar name exists: `main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 6 | / bitmask! { [INFO] [stdout] 7 | | /// Reasons for moving funds out of an account. [INFO] [stdout] 8 | | #[derive(Encode, Decode)] [INFO] [stdout] | | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] 9 | | pub mask Withdraw2Reasons: i8 where [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-bug-nightly-0824` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0424`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "888760f595ddcb6ba25f485e60332d5373c4f61f3d002ab211c39a43d6ce05fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888760f595ddcb6ba25f485e60332d5373c4f61f3d002ab211c39a43d6ce05fb", kill_on_drop: false }` [INFO] [stdout] 888760f595ddcb6ba25f485e60332d5373c4f61f3d002ab211c39a43d6ce05fb