[INFO] fetching crate desim 0.4.0... [INFO] checking desim-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate desim 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate desim 0.4.0 [INFO] finished tweaking crates.io crate desim 0.4.0 [INFO] tweaked toml for crates.io crate desim 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate desim 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate desim 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0943f56435012c0c5cef2103afadc33080978235afb0aa8a4478880b0ac9a52 [INFO] running `Command { std: "docker" "start" "-a" "f0943f56435012c0c5cef2103afadc33080978235afb0aa8a4478880b0ac9a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0943f56435012c0c5cef2103afadc33080978235afb0aa8a4478880b0ac9a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0943f56435012c0c5cef2103afadc33080978235afb0aa8a4478880b0ac9a52", kill_on_drop: false }` [INFO] [stdout] f0943f56435012c0c5cef2103afadc33080978235afb0aa8a4478880b0ac9a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f98afbfd2d94452a2b4368406bbff46e73964628614a37515be46deb6b785d10 [INFO] running `Command { std: "docker" "start" "-a" "f98afbfd2d94452a2b4368406bbff46e73964628614a37515be46deb6b785d10", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking desim v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/one_cpu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | yield Effect::Request(cpu); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 17 | let p1 = s.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `desim` (example "one_cpu") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `desim` (example "finite_resource") due to 1 previous error [INFO] [stderr] error: could not compile `desim` (example "carwash") due to 1 previous error [INFO] [stderr] error: could not compile `desim` (example "store") due to 2 previous errors [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/one_cpu.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | yield Effect::Request(cpu); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 27 | let p2 = s.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/finite_resource.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | yield State::new(Effect::Request(res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 105 | Box::new(#[coroutine] move |response: SimContext| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/store.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | yield MyState::Push(queue, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 47 | let p1 = s.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/store.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let ret = yield MyState::Pull(queue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 56 | let p2 = s.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/carwash.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | yield Drive(t_drive); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 75 | Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> examples/monitoring-state.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | yield ctx.need_pip(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/lib.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | yield Effect::TimeOut(a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 533 | let p = s.create_process(Box::new(#[coroutine] |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/lib.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | yield Effect::TimeOut(tik); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 556 | let p = s.create_process(Box::new(#[coroutine] |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/lib.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | yield Effect::Request(r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 578 | let p1 = s.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/lib.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | yield Effect::Request(r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 584 | let p2 = s.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/lib.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | yield Effect::Pull(store); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 611 | let p1 = sim.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks [INFO] [stdout] --> src/lib.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | yield Effect::Push(store); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `#[coroutine]` to make this closure a coroutine [INFO] [stdout] | [INFO] [stdout] 617 | let p2 = sim.create_process(Box::new(#[coroutine] move |_| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `desim` (example "monitoring-state") due to 1 previous error [INFO] [stderr] error: could not compile `desim` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "f98afbfd2d94452a2b4368406bbff46e73964628614a37515be46deb6b785d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f98afbfd2d94452a2b4368406bbff46e73964628614a37515be46deb6b785d10", kill_on_drop: false }` [INFO] [stdout] f98afbfd2d94452a2b4368406bbff46e73964628614a37515be46deb6b785d10