[INFO] fetching crate llhd-sim 0.4.0... [INFO] checking llhd-sim-0.4.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate llhd-sim 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate llhd-sim 0.4.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate llhd-sim 0.4.0 [INFO] finished tweaking crates.io crate llhd-sim 0.4.0 [INFO] tweaked toml for crates.io crate llhd-sim 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate llhd-sim 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 333a7ba05b475ad822fc11b6bc0b4726fa9bfbd133e357273c2172b384671846 [INFO] running `Command { std: "docker" "start" "-a" "333a7ba05b475ad822fc11b6bc0b4726fa9bfbd133e357273c2172b384671846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333a7ba05b475ad822fc11b6bc0b4726fa9bfbd133e357273c2172b384671846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333a7ba05b475ad822fc11b6bc0b4726fa9bfbd133e357273c2172b384671846", kill_on_drop: false }` [INFO] [stdout] 333a7ba05b475ad822fc11b6bc0b4726fa9bfbd133e357273c2172b384671846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64019b12b0dc2b0eee4495f6e8861508634d5943a866b0bbe6a970a4ef804761 [INFO] running `Command { std: "docker" "start" "-a" "64019b12b0dc2b0eee4495f6e8861508634d5943a866b0bbe6a970a4ef804761", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling string_cache v0.7.4 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling anyhow v1.0.17 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling llhd v0.9.0 [INFO] [stderr] Checking llhd-sim v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 87 | .map(|sig| self.state[sig].value().clone()) [INFO] [stdout] | ^^^^^ ---------- second borrow occurs due to use of `self` in closure [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 87 | .map(|sig| self.state[sig].value().clone()) [INFO] [stdout] | ^^^^^ ---------- second borrow occurs due to use of `self` in closure [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state.probes` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 90 | trace!("Event: {}", self.state.probes[&sig][0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state.probes` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 90 | trace!("Event: {}", self.state.probes[&sig][0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self.state` as mutable more than once at a time [INFO] [stdout] --> src/engine.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 99 | if self.state[sig].set_value(modified.clone()) && modified != old { [INFO] [stdout] | ^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self.state` as mutable more than once at a time [INFO] [stdout] --> src/engine.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 99 | if self.state[sig].set_value(modified.clone()) && modified != old { [INFO] [stdout] | ^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state.probes` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 103 | self.state.probes[&sig][0], old, modified [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.state` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 110 | for inst in self.state.take_next_timed() { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] 111 | debug!("Wakeup {} (time)", self.state[inst].lock().unwrap().name(),); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.state` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 110 | for inst in self.state.take_next_timed() { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] 111 | debug!("Wakeup {} (time)", self.state[inst].lock().unwrap().name(),); [INFO] [stdout] 112 | self.state[inst].lock().unwrap().state = InstanceState::Ready; [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.state.probes` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 82 | for (signal, value) in self.state.take_next_events() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 103 | self.state.probes[&sig][0], old, modified [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.state` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 110 | for inst in self.state.take_next_timed() { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] 111 | debug!("Wakeup {} (time)", self.state[inst].lock().unwrap().name(),); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.state` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/engine.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 110 | for inst in self.state.take_next_timed() { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] 111 | debug!("Wakeup {} (time)", self.state[inst].lock().unwrap().name(),); [INFO] [stdout] 112 | self.state[inst].lock().unwrap().state = InstanceState::Ready; [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `llhd-sim` (bin "llhd-sim" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `llhd-sim` (bin "llhd-sim") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "64019b12b0dc2b0eee4495f6e8861508634d5943a866b0bbe6a970a4ef804761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64019b12b0dc2b0eee4495f6e8861508634d5943a866b0bbe6a970a4ef804761", kill_on_drop: false }` [INFO] [stdout] 64019b12b0dc2b0eee4495f6e8861508634d5943a866b0bbe6a970a4ef804761