[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] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 45c10c223b92da215e182bc3eff0d5e09bf813f4 [INFO] testing whatisaphone/genawaiter against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fgenawaiter" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whatisaphone/genawaiter on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-4/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6244ef51d4d67ff07bcef4aac9c4bba7766875b86c45a53205d53813905e3d6c [INFO] running `"docker" "start" "-a" "6244ef51d4d67ff07bcef4aac9c4bba7766875b86c45a53205d53813905e3d6c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [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 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 24.22s [INFO] running `"docker" "inspect" "6244ef51d4d67ff07bcef4aac9c4bba7766875b86c45a53205d53813905e3d6c"` [INFO] running `"docker" "rm" "-f" "6244ef51d4d67ff07bcef4aac9c4bba7766875b86c45a53205d53813905e3d6c"` [INFO] [stdout] 6244ef51d4d67ff07bcef4aac9c4bba7766875b86c45a53205d53813905e3d6c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10c6e5f2f5ff35a53eafeb2493b665ba9fbdd27696d5951a346118c6cb6d59cc [INFO] running `"docker" "start" "-a" "10c6e5f2f5ff35a53eafeb2493b665ba9fbdd27696d5951a346118c6cb6d59cc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.111 [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 serde_json v1.0.53 [INFO] [stderr] Compiling trybuild v1.0.28 [INFO] [stderr] Compiling genawaiter v0.99.1 (/opt/rustwide/workdir) [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] --> 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] --> 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: 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[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/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 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "10c6e5f2f5ff35a53eafeb2493b665ba9fbdd27696d5951a346118c6cb6d59cc"` [INFO] running `"docker" "rm" "-f" "10c6e5f2f5ff35a53eafeb2493b665ba9fbdd27696d5951a346118c6cb6d59cc"` [INFO] [stdout] 10c6e5f2f5ff35a53eafeb2493b665ba9fbdd27696d5951a346118c6cb6d59cc