[INFO] fetching crate msr 0.3.4... [INFO] checking msr-0.3.4 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate msr 0.3.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate msr 0.3.4 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate msr 0.3.4 [INFO] finished tweaking crates.io crate msr 0.3.4 [INFO] tweaked toml for crates.io crate msr 0.3.4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate msr 0.3.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e559485409b7228b94a978ac0b4d1e96045d68304d4a1303edb2ecae2b5c9bbd [INFO] running `Command { std: "docker" "start" "-a" "e559485409b7228b94a978ac0b4d1e96045d68304d4a1303edb2ecae2b5c9bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e559485409b7228b94a978ac0b4d1e96045d68304d4a1303edb2ecae2b5c9bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e559485409b7228b94a978ac0b4d1e96045d68304d4a1303edb2ecae2b5c9bbd", kill_on_drop: false }` [INFO] [stdout] e559485409b7228b94a978ac0b4d1e96045d68304d4a1303edb2ecae2b5c9bbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84962b8cf96124d4c4ec2d817dd93f659ffd002e90e2d88217397c1645ea5540 [INFO] running `Command { std: "docker" "start" "-a" "84962b8cf96124d4c4ec2d817dd93f659ffd002e90e2d88217397c1645ea5540", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.63 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking thiserror v1.0.33 [INFO] [stderr] Checking msr-core v0.3.4 [INFO] [stderr] Checking msr v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking msr-plugin v0.3.4 [INFO] [stdout] error[E0391]: cycle detected when type-checking `spawn_tasks` [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/modbus-tcp-recording.rs:112:45: 131:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `spawn_tasks::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | let main_task = tokio::spawn(async move { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 113 | | log::info!("Starting main task"); [INFO] [stdout] 114 | | match tokio::join!(mediator_task, modbus_plugin_task, recorder_plugin_task) { [INFO] [stdout] 115 | | (Ok(_), Ok(_), Ok(_)) => { [INFO] [stdout] ... | [INFO] [stdout] 130 | | log::info!("Terminating main task"); [INFO] [stdout] 131 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `spawn_tasks`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `::setup` [INFO] [stdout] --> examples/modbus-tcp-recording.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | message_loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/modbus-tcp-recording.rs:162:48: 191:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::setup::{closure#0}`... [INFO] [stdout] --> examples/modbus-tcp-recording.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | let message_loop = Box::pin(async move { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 163 | | log::info!("Entering modbus plugin message loop"); [INFO] [stdout] 164 | | let mut interval = tokio::time::interval(std::time::Duration::from_secs(1)); [INFO] [stdout] 165 | | let mut cnt = 0; [INFO] [stdout] ... | [INFO] [stdout] 190 | | log::info!("Exiting modbus plugin message loop"); [INFO] [stdout] 191 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::setup`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [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 E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `msr` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "84962b8cf96124d4c4ec2d817dd93f659ffd002e90e2d88217397c1645ea5540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84962b8cf96124d4c4ec2d817dd93f659ffd002e90e2d88217397c1645ea5540", kill_on_drop: false }` [INFO] [stdout] 84962b8cf96124d4c4ec2d817dd93f659ffd002e90e2d88217397c1645ea5540