[INFO] updating cached repository https://github.com/whatisaphone/genawaiter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45c10c223b92da215e182bc3eff0d5e09bf813f4 [INFO] testing whatisaphone/genawaiter against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whatisaphone/genawaiter on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b1705fca6a84c2dbf2c9e9cbb130679a1944964d7751ac18da867a177d142bb [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" "8b1705fca6a84c2dbf2c9e9cbb130679a1944964d7751ac18da867a177d142bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b1705fca6a84c2dbf2c9e9cbb130679a1944964d7751ac18da867a177d142bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1705fca6a84c2dbf2c9e9cbb130679a1944964d7751ac18da867a177d142bb", kill_on_drop: false }` [INFO] [stdout] 8b1705fca6a84c2dbf2c9e9cbb130679a1944964d7751ac18da867a177d142bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dd499470d4a0005252aef5e828411c815fd6a5901f097096aaa7b781cf194a7 [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" "7dd499470d4a0005252aef5e828411c815fd6a5901f097096aaa7b781cf194a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling 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] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling genawaiter v0.99.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.55s [INFO] running `Command { std: "docker" "inspect" "7dd499470d4a0005252aef5e828411c815fd6a5901f097096aaa7b781cf194a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd499470d4a0005252aef5e828411c815fd6a5901f097096aaa7b781cf194a7", kill_on_drop: false }` [INFO] [stdout] 7dd499470d4a0005252aef5e828411c815fd6a5901f097096aaa7b781cf194a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a3c3f1bc7026afe8d78543f0b2c3992c16b77fac4c2c8e7c08b8b64c124d1b0 [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" "4a3c3f1bc7026afe8d78543f0b2c3992c16b77fac4c2c8e7c08b8b64c124d1b0", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling trybuild v1.0.30 [INFO] [stderr] Compiling genawaiter v0.99.1 (/opt/rustwide/workdir) [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] [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/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] [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/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: 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[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/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 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" "4a3c3f1bc7026afe8d78543f0b2c3992c16b77fac4c2c8e7c08b8b64c124d1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3c3f1bc7026afe8d78543f0b2c3992c16b77fac4c2c8e7c08b8b64c124d1b0", kill_on_drop: false }` [INFO] [stdout] 4a3c3f1bc7026afe8d78543f0b2c3992c16b77fac4c2c8e7c08b8b64c124d1b0