[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] e668e0e..c1696e9 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c1696e9a97fd466fe82139608fdc6a3d570d2680 [INFO] checking whatisaphone/genawaiter against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whatisaphone/genawaiter on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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-14/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-14/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] d426041572bdc5abf6e6f222b14025f9f306bbddc84d7db14120a0fe76cde456 [INFO] running `"docker" "start" "-a" "d426041572bdc5abf6e6f222b14025f9f306bbddc84d7db14120a0fe76cde456"` [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking genawaiter v0.99.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking trybuild v1.0.25 [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: 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/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] --> 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[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[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[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 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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: 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 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: build failed [INFO] running `"docker" "inspect" "d426041572bdc5abf6e6f222b14025f9f306bbddc84d7db14120a0fe76cde456"` [INFO] running `"docker" "rm" "-f" "d426041572bdc5abf6e6f222b14025f9f306bbddc84d7db14120a0fe76cde456"` [INFO] [stdout] d426041572bdc5abf6e6f222b14025f9f306bbddc84d7db14120a0fe76cde456