[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki-js%2Frustc-bug-nightly-0824" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuki-js/rustc-bug-nightly-0824 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-6/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3fd116198a3558660f416a8936964e0bece21055231a9474316bd2c4aec4bba [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" "c3fd116198a3558660f416a8936964e0bece21055231a9474316bd2c4aec4bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3fd116198a3558660f416a8936964e0bece21055231a9474316bd2c4aec4bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fd116198a3558660f416a8936964e0bece21055231a9474316bd2c4aec4bba", kill_on_drop: false }` [INFO] [stdout] c3fd116198a3558660f416a8936964e0bece21055231a9474316bd2c4aec4bba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49cd2ffaeb254bcf2bba9eaddb90359aea4fce749d94d4004feaf86ad47f240 [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" "d49cd2ffaeb254bcf2bba9eaddb90359aea4fce749d94d4004feaf86ad47f240", 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 radium v0.3.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [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 a derive macro (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] --> 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 a derive macro (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: 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: could not compile `rustc-bug-nightly-0824` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "d49cd2ffaeb254bcf2bba9eaddb90359aea4fce749d94d4004feaf86ad47f240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49cd2ffaeb254bcf2bba9eaddb90359aea4fce749d94d4004feaf86ad47f240", kill_on_drop: false }` [INFO] [stdout] d49cd2ffaeb254bcf2bba9eaddb90359aea4fce749d94d4004feaf86ad47f240