[INFO] updating cached repository https://github.com/whatisaphone/genawaiter [INFO] running `"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"` [INFO] [stderr] From https://github.com/whatisaphone/genawaiter [INFO] [stderr] c1696e9..45c10c2 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 45c10c223b92da215e182bc3eff0d5e09bf813f4 [INFO] checking whatisaphone/genawaiter against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whatisaphone/genawaiter on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/whatisaphone/genawaiter already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 322ddaafeeea063527233ca07db572374f448e236c278a655293d9ed7d694011 [INFO] running `"docker" "start" "-a" "322ddaafeeea063527233ca07db572374f448e236c278a655293d9ed7d694011"` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling syn v1.0.18 [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.4 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking genawaiter v0.99.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking trybuild v1.0.26 [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/stack.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/stack.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/stack.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/stack.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> examples/error_propagation.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | let counter = gen!({ [INFO] [stderr] | _______________________^ [INFO] [stderr] 26 | | for num in 0..10 { [INFO] [stderr] 27 | | // Perform some fallible operation, and yield the result (or the error) [INFO] [stderr] 28 | | let string = yield_!(process(num)); [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | }); [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |__________cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> examples/linked_list.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | / gen!({ [INFO] [stderr] 49 | | while let Some(next) = current { [INFO] [stderr] 50 | | yield_!(&next.val); [INFO] [stderr] 51 | | current = &next.next; [INFO] [stderr] 52 | | } [INFO] [stderr] 53 | | }) [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |______________cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/rc.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/rc.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/sync.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [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] [stderr] error[E0596]: cannot borrow `__private_co_arg__` as mutable, as it is not declared as mutable [INFO] [stderr] --> tests/sync.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | #[producer_fn(u8)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot borrow as mutable [INFO] [stderr] | help: consider changing this to be mutable: `mut __private_co_arg__` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "322ddaafeeea063527233ca07db572374f448e236c278a655293d9ed7d694011"` [INFO] running `"docker" "rm" "-f" "322ddaafeeea063527233ca07db572374f448e236c278a655293d9ed7d694011"` [INFO] [stdout] 322ddaafeeea063527233ca07db572374f448e236c278a655293d9ed7d694011