[INFO] cloning repository https://github.com/ptmalloc/rcoreLearn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ptmalloc/rcoreLearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptmalloc%2FrcoreLearn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptmalloc%2FrcoreLearn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b648c7d8ebfe4dc0f1a221c0f7375088c6f91cf [INFO] checking ptmalloc/rcoreLearn against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptmalloc%2FrcoreLearn" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ptmalloc/rcoreLearn on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] removed /workspace/builds/worker-7/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ptmalloc/rcoreLearn [INFO] finished tweaking git repo https://github.com/ptmalloc/rcoreLearn [INFO] tweaked toml for git repo https://github.com/ptmalloc/rcoreLearn written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ptmalloc/rcoreLearn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 66f50a0eeda6b4bbe52beb7bbc8f89c01dd4326980d2e7af2c792e5ee23cd4a4 [INFO] running `Command { std: "docker" "start" "-a" "66f50a0eeda6b4bbe52beb7bbc8f89c01dd4326980d2e7af2c792e5ee23cd4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66f50a0eeda6b4bbe52beb7bbc8f89c01dd4326980d2e7af2c792e5ee23cd4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f50a0eeda6b4bbe52beb7bbc8f89c01dd4326980d2e7af2c792e5ee23cd4a4", kill_on_drop: false }` [INFO] [stdout] 66f50a0eeda6b4bbe52beb7bbc8f89c01dd4326980d2e7af2c792e5ee23cd4a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a59aedc82da66222cea357af95bc3beb23c528ee225c0149d431925fe5b957 [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" "48a59aedc82da66222cea357af95bc3beb23c528ee225c0149d431925fe5b957", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking bit_field v0.10.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 (https://github.com/rcore-os/riscv#21e32ee1) [INFO] [stderr] Checking os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `self`, `sepc` [INFO] [stdout] --> src/interrupt.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sepc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interrupt.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if (TICKS == 100) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Page`, `PhysAddr`, `VirtAddr` [INFO] [stdout] --> src/memory/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | VirtAddr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | PhysAddr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Page, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/memory/frame_allocator.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | for i in (1..(self.m << 1)) { self.a[i] = 1; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/memory/frame_allocator.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | for i in (1..self.n) { self.a[self.m + i] = 0; } [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `sepc` [INFO] [stdout] --> src/interrupt.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sepc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/interrupt.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if (TICKS == 100) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Page`, `PhysAddr`, `VirtAddr` [INFO] [stdout] --> src/memory/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | VirtAddr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | PhysAddr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Page, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/memory/frame_allocator.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | for i in (1..(self.m << 1)) { self.a[i] = 1; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/memory/frame_allocator.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | for i in (1..self.n) { self.a[self.m + i] = 0; } [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang_items.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in the local crate (`os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `os` due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "48a59aedc82da66222cea357af95bc3beb23c528ee225c0149d431925fe5b957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a59aedc82da66222cea357af95bc3beb23c528ee225c0149d431925fe5b957", kill_on_drop: false }` [INFO] [stdout] 48a59aedc82da66222cea357af95bc3beb23c528ee225c0149d431925fe5b957