[INFO] cloning repository https://github.com/rjzhb/MemoryAllocator-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rjzhb/MemoryAllocator-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjzhb%2FMemoryAllocator-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjzhb%2FMemoryAllocator-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5420cf5554e1f77ab10c7058b68d6cb8d5759feb [INFO] checking rjzhb/MemoryAllocator-Rust against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjzhb%2FMemoryAllocator-Rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjzhb/MemoryAllocator-Rust on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rjzhb/MemoryAllocator-Rust [INFO] finished tweaking git repo https://github.com/rjzhb/MemoryAllocator-Rust [INFO] tweaked toml for git repo https://github.com/rjzhb/MemoryAllocator-Rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rjzhb/MemoryAllocator-Rust 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rjzhb/MemoryAllocator-Rust against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjzhb%2FMemoryAllocator-Rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjzhb/MemoryAllocator-Rust on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rjzhb/MemoryAllocator-Rust [INFO] finished tweaking git repo https://github.com/rjzhb/MemoryAllocator-Rust [INFO] tweaked toml for git repo https://github.com/rjzhb/MemoryAllocator-Rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rjzhb/MemoryAllocator-Rust 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rjzhb/MemoryAllocator-Rust against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjzhb%2FMemoryAllocator-Rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjzhb/MemoryAllocator-Rust on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rjzhb/MemoryAllocator-Rust [INFO] finished tweaking git repo https://github.com/rjzhb/MemoryAllocator-Rust [INFO] tweaked toml for git repo https://github.com/rjzhb/MemoryAllocator-Rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rjzhb/MemoryAllocator-Rust 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b759d49b5233e2b21a9d058537d94c511ec14f57be04b5ae6139684a5348c33 [INFO] running `Command { std: "docker" "start" "-a" "1b759d49b5233e2b21a9d058537d94c511ec14f57be04b5ae6139684a5348c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b759d49b5233e2b21a9d058537d94c511ec14f57be04b5ae6139684a5348c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b759d49b5233e2b21a9d058537d94c511ec14f57be04b5ae6139684a5348c33", kill_on_drop: false }` [INFO] [stdout] 1b759d49b5233e2b21a9d058537d94c511ec14f57be04b5ae6139684a5348c33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59a805475d81a43fa0b573d97f967887f2e6fd070c8a9c3d7fb01e5cdcddf424 [INFO] running `Command { std: "docker" "start" "-a" "59a805475d81a43fa0b573d97f967887f2e6fd070c8a9c3d7fb01e5cdcddf424", kill_on_drop: false }` [INFO] [stderr] Checking MemoryAllocator-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/memory_allocator.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let chunk: MemoryChunk = *it; [INFO] [stdout] | ----------- ^^^ expected `MemoryChunk`, found `LinkedList` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `MemoryChunk` [INFO] [stdout] found struct `std::collections::LinkedList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/memory_allocator.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let chunk: MemoryChunk = *it; [INFO] [stdout] | ----------- ^^^ expected `MemoryChunk`, found `LinkedList` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `MemoryChunk` [INFO] [stdout] found struct `std::collections::LinkedList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_back` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | self.alloc_chunk_list.take().push_back(MemoryChunk::new( [INFO] [stdout] | -----------------------------^^^^^^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push_back` exists on the type `std::collections::LinkedList` [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/collections/linked_list.rs:893:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::collections::LinkedList` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 67 | self.alloc_chunk_list.take().expect("REASON").push_back(MemoryChunk::new( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_back` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | self.alloc_chunk_list.take().push_back(MemoryChunk::new( [INFO] [stdout] | -----------------------------^^^^^^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `push_back` exists on the type `std::collections::LinkedList` [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/collections/linked_list.rs:893:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::collections::LinkedList` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 67 | self.alloc_chunk_list.take().expect("REASON").push_back(MemoryChunk::new( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `empty` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | if self.free_chunk_list.take().empty() { [INFO] [stdout] | ^^^^^ method not found in `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `empty` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | if self.free_chunk_list.take().empty() { [INFO] [stdout] | ^^^^^ method not found in `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `erase` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | self.free_chunk_list.take().erase(it += 1); [INFO] [stdout] | ^^^^^ method not found in `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `erase` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | self.free_chunk_list.take().erase(it += 1); [INFO] [stdout] | ^^^^^ method not found in `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&mut std::collections::LinkedList` [INFO] [stdout] --> src/allocator/memory_allocator.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | self.free_chunk_list.take().erase(it += 1); [INFO] [stdout] | --^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `&mut std::collections::LinkedList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&mut std::collections::LinkedList` [INFO] [stdout] --> src/allocator/memory_allocator.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | self.free_chunk_list.take().erase(it += 1); [INFO] [stdout] | --^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `&mut std::collections::LinkedList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cursor_back_mut` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | self.free_chunk_list.take().cursor_back_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `cursor_back_mut` exists on the type `std::collections::LinkedList` [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/collections/linked_list.rs:610:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::collections::LinkedList` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 78 | self.free_chunk_list.take().expect("REASON").cursor_back_mut(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cursor_back_mut` found for enum `Option` in the current scope [INFO] [stdout] --> src/allocator/memory_allocator.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | self.free_chunk_list.take().cursor_back_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `cursor_back_mut` exists on the type `std::collections::LinkedList` [INFO] [stdout] --> /rustc/3931cbb869e499bf6db1e4d580cc247efbf183df/library/alloc/src/collections/linked_list.rs:610:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::collections::LinkedList` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 78 | self.free_chunk_list.take().expect("REASON").cursor_back_mut(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/memory_allocator.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | fn alloc(&mut self, id: i32, size: i32) -> bool {} [INFO] [stdout] | ----- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/memory_allocator.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | fn alloc(&mut self, id: i32, size: i32) -> bool {} [INFO] [stdout] | ----- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/memory_allocator.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn free(id: i32) -> bool {} [INFO] [stdout] | ---- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/memory_allocator.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn free(id: i32) -> bool {} [INFO] [stdout] | ---- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `MemoryAllocator-Rust` (bin "MemoryAllocator-Rust") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `MemoryAllocator-Rust` (bin "MemoryAllocator-Rust" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "59a805475d81a43fa0b573d97f967887f2e6fd070c8a9c3d7fb01e5cdcddf424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a805475d81a43fa0b573d97f967887f2e6fd070c8a9c3d7fb01e5cdcddf424", kill_on_drop: false }` [INFO] [stdout] 59a805475d81a43fa0b573d97f967887f2e6fd070c8a9c3d7fb01e5cdcddf424