[INFO] cloning repository https://github.com/ablanleuil/rust_riscv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ablanleuil/rust_riscv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablanleuil%2Frust_riscv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablanleuil%2Frust_riscv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6aadc93bba931bb6e7e6628dc7fee530d877fd74 [INFO] checking ablanleuil/rust_riscv against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablanleuil%2Frust_riscv" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 15% (18/114) Checking out files: 16% (19/114) Checking out files: 17% (20/114) Checking out files: 18% (21/114) Checking out files: 19% (22/114) Checking out files: 20% (23/114) Checking out files: 21% (24/114) Checking out files: 22% (26/114) Checking out files: 23% (27/114) Checking out files: 24% (28/114) Checking out files: 25% (29/114) Checking out files: 26% (30/114) Checking out files: 27% (31/114) Checking out files: 28% (32/114) Checking out files: 29% (34/114) Checking out files: 30% (35/114) Checking out files: 31% (36/114) Checking out files: 32% (37/114) Checking out files: 33% (38/114) Checking out files: 34% (39/114) Checking out files: 35% (40/114) Checking out files: 36% (42/114) Checking out files: 37% (43/114) Checking out files: 38% (44/114) Checking out files: 39% (45/114) Checking out files: 40% (46/114) Checking out files: 41% (47/114) Checking out files: 42% (48/114) Checking out files: 43% (50/114) Checking out files: 44% (51/114) Checking out files: 45% (52/114) Checking out files: 46% (53/114) Checking out files: 47% (54/114) Checking out files: 48% (55/114) Checking out files: 49% (56/114) Checking out files: 50% (57/114) Checking out files: 51% (59/114) Checking out files: 52% (60/114) Checking out files: 53% (61/114) Checking out files: 54% (62/114) Checking out files: 55% (63/114) Checking out files: 56% (64/114) Checking out files: 57% (65/114) Checking out files: 58% (67/114) Checking out files: 59% (68/114) Checking out files: 60% (69/114) Checking out files: 61% (70/114) Checking out files: 62% (71/114) Checking out files: 63% (72/114) Checking out files: 64% (73/114) Checking out files: 65% (75/114) Checking out files: 66% (76/114) Checking out files: 67% (77/114) Checking out files: 68% (78/114) Checking out files: 69% (79/114) Checking out files: 70% (80/114) Checking out files: 71% (81/114) Checking out files: 72% (83/114) Checking out files: 73% (84/114) Checking out files: 74% (85/114) Checking out files: 75% (86/114) Checking out files: 76% (87/114) Checking out files: 77% (88/114) Checking out files: 78% (89/114) Checking out files: 79% (91/114) Checking out files: 80% (92/114) Checking out files: 81% (93/114) Checking out files: 82% (94/114) Checking out files: 83% (95/114) Checking out files: 84% (96/114) Checking out files: 85% (97/114) Checking out files: 86% (99/114) Checking out files: 87% (100/114) Checking out files: 88% (101/114) Checking out files: 89% (102/114) Checking out files: 90% (103/114) Checking out files: 91% (104/114) Checking out files: 92% (105/114) Checking out files: 93% (107/114) Checking out files: 94% (108/114) Checking out files: 95% (109/114) Checking out files: 96% (110/114) Checking out files: 97% (111/114) Checking out files: 98% (112/114) Checking out files: 99% (113/114) Checking out files: 100% (114/114) Checking out files: 100% (114/114), done. [INFO] validating manifest of git repo https://github.com/ablanleuil/rust_riscv on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ablanleuil/rust_riscv [INFO] finished tweaking git repo https://github.com/ablanleuil/rust_riscv [INFO] tweaked toml for git repo https://github.com/ablanleuil/rust_riscv written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ablanleuil/rust_riscv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/examples/simtx.rs [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/examples/simtx.rs [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded elf v0.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0688a77aa3c336189cea333eaf100c65945d2ba4eb3930b31a756ed29440940 [INFO] running `Command { std: "docker" "start" "-a" "d0688a77aa3c336189cea333eaf100c65945d2ba4eb3930b31a756ed29440940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0688a77aa3c336189cea333eaf100c65945d2ba4eb3930b31a756ed29440940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0688a77aa3c336189cea333eaf100c65945d2ba4eb3930b31a756ed29440940", kill_on_drop: false }` [INFO] [stdout] d0688a77aa3c336189cea333eaf100c65945d2ba4eb3930b31a756ed29440940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 479002b4f4ff3e8e31856492ff6805dbea5af2c6a21732e19a8ddafc1d147895 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "479002b4f4ff3e8e31856492ff6805dbea5af2c6a21732e19a8ddafc1d147895", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/simtx.rs [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking elf v0.0.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking riscv-sandbox v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/machine/simtx/implem.rs:1341:27 [INFO] [stdout] | [INFO] [stdout] 1341 | self.idle_threads.remove_item(&coreid); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine/simtx/scheduler/loopaware.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|(pid,x)| { /*println!("found : {:?}", (pid,x));*/ *pid }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/machine/simtx/syscalls/rewind.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut addr = core.registers[10] as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/machine/simtx/syscalls/rewind.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let size = core.registers[11] as usize; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/machine/simtx/implem.rs:1341:27 [INFO] [stdout] | [INFO] [stdout] 1341 | self.idle_threads.remove_item(&coreid); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/machine/simtx/syscalls/rewind.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut addr = core.registers[10] as usize; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/machine/simtx/scheduler/loopaware.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|(pid,x)| { /*println!("found : {:?}", (pid,x));*/ *pid }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/machine/simtx/syscalls/rewind.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut addr = core.registers[10] as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/machine/simtx/syscalls/rewind.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let size = core.registers[11] as usize; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/machine/simtx/syscalls/rewind.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut addr = core.registers[10] as usize; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoopAwareScheduler`, `TimeShareScheduler` [INFO] [stdout] --> examples/simtx.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | ...::Machine as SIMTX, simtx::scheduler::{TimeShareScheduler, LexicoScheduler, LoopAwareScheduler}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/simtx.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoopAwareScheduler`, `TimeShareScheduler` [INFO] [stdout] --> examples/simtx.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | ...::Machine as SIMTX, simtx::scheduler::{TimeShareScheduler, LexicoScheduler, LoopAwareScheduler}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/simtx.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoopAwareScheduler`, `TimeShareScheduler` [INFO] [stdout] --> examples/simtx.rs:9:93 [INFO] [stdout] | [INFO] [stdout] 9 | ...::Machine as SIMTX, simtx::scheduler::{TimeShareScheduler, LexicoScheduler, LoopAwareScheduler}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/simtx.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexicoScheduler` [INFO] [stdout] --> examples/simtx_alex.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | , simtx::scheduler::{LexicoScheduler, TimeShareScheduler}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/simtx_alex.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/simtx.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | s.parse::().map_err(|e| String::from("Must be a number")).map(|_| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/simtx.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | s.parse::().map_err(|e| String::from("Must be a number")).map(|_| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/simtx.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | s.parse::().map_err(|e| String::from("Must be a number")).map(|_| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/simtx_alex.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | s.parse::().map_err(|e| String::from("Must be a number")).map(|_| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.33s [INFO] running `Command { std: "docker" "inspect" "479002b4f4ff3e8e31856492ff6805dbea5af2c6a21732e19a8ddafc1d147895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479002b4f4ff3e8e31856492ff6805dbea5af2c6a21732e19a8ddafc1d147895", kill_on_drop: false }` [INFO] [stdout] 479002b4f4ff3e8e31856492ff6805dbea5af2c6a21732e19a8ddafc1d147895