[INFO] cloning repository https://github.com/whatisaphone/genawaiter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whatisaphone/genawaiter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45c10c223b92da215e182bc3eff0d5e09bf813f4 [INFO] checking whatisaphone/genawaiter against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whatisaphone/genawaiter on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/whatisaphone/genawaiter [INFO] removed workspace from git repo https://github.com/whatisaphone/genawaiter [INFO] removed path dependency genawaiter-macro from git repo https://github.com/whatisaphone/genawaiter [INFO] removed path dependency genawaiter-proc-macro from git repo https://github.com/whatisaphone/genawaiter [INFO] finished tweaking git repo https://github.com/whatisaphone/genawaiter [INFO] tweaked toml for git repo https://github.com/whatisaphone/genawaiter written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/whatisaphone/genawaiter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] dcfd9207135147d54493ccc5165ca1871e0f1627b903125ee0f6bda1e05bae12 [INFO] running `Command { std: "docker" "start" "-a" "dcfd9207135147d54493ccc5165ca1871e0f1627b903125ee0f6bda1e05bae12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcfd9207135147d54493ccc5165ca1871e0f1627b903125ee0f6bda1e05bae12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcfd9207135147d54493ccc5165ca1871e0f1627b903125ee0f6bda1e05bae12", kill_on_drop: false }` [INFO] [stdout] dcfd9207135147d54493ccc5165ca1871e0f1627b903125ee0f6bda1e05bae12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--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] 7df5794dcc3b3386cf4c576106233511f6f13de74bd399ac43d845b710864169 [INFO] running `Command { std: "docker" "start" "-a" "7df5794dcc3b3386cf4c576106233511f6f13de74bd399ac43d845b710864169", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling syn-mid v0.5.2 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking genawaiter v0.99.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> examples/error_propagation.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let counter = gen!({ [INFO] [stdout] | _______________________^ [INFO] [stdout] 26 | | for num in 0..10 { [INFO] [stdout] 27 | | // Perform some fallible operation, and yield the result (or the error) [INFO] [stdout] 28 | | let string = yield_!(process(num)); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genawaiter` [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[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> examples/linked_list.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / gen!({ [INFO] [stdout] 49 | | while let Some(next) = current { [INFO] [stdout] 50 | | yield_!(&next.val); [INFO] [stdout] 51 | | current = &next.next; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 E0596`. [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/rc.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/rc.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/stack.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/stack.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/sync.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/sync.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/stack.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/stack.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | #[producer_fn(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [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 E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7df5794dcc3b3386cf4c576106233511f6f13de74bd399ac43d845b710864169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df5794dcc3b3386cf4c576106233511f6f13de74bd399ac43d845b710864169", kill_on_drop: false }` [INFO] [stdout] 7df5794dcc3b3386cf4c576106233511f6f13de74bd399ac43d845b710864169