[INFO] cloning repository https://github.com/charliethomson/arraylist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charliethomson/arraylist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Farraylist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Farraylist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6d16fe34792c4c4bd6f956d94a9b3d57cc887ee [INFO] testing charliethomson/arraylist against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Farraylist" "/workspace/builds/worker-55/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charliethomson/arraylist on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charliethomson/arraylist [INFO] finished tweaking git repo https://github.com/charliethomson/arraylist [INFO] tweaked toml for git repo https://github.com/charliethomson/arraylist written to /workspace/builds/worker-55/source/Cargo.toml [INFO] crate git repo https://github.com/charliethomson/arraylist already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b92f0b9b6865469ddfb38e7fade4c637f7a4f22a6d52920faa7dd1f94ea12d [INFO] running `Command { std: "docker" "start" "-a" "69b92f0b9b6865469ddfb38e7fade4c637f7a4f22a6d52920faa7dd1f94ea12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b92f0b9b6865469ddfb38e7fade4c637f7a4f22a6d52920faa7dd1f94ea12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b92f0b9b6865469ddfb38e7fade4c637f7a4f22a6d52920faa7dd1f94ea12d", kill_on_drop: false }` [INFO] [stdout] 69b92f0b9b6865469ddfb38e7fade4c637f7a4f22a6d52920faa7dd1f94ea12d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d353eff2aa1ed593b610438c26ae2a692dfe2f37fdd320bfd18bc70a78fcf3 [INFO] running `Command { std: "docker" "start" "-a" "a5d353eff2aa1ed593b610438c26ae2a692dfe2f37fdd320bfd18bc70a78fcf3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dynamic_array v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_pow2` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_next_pow2(num: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe fn from(arr: *mut T, size: usize) -> Array { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe fn new(size: usize) -> Array { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_vec` [INFO] [stdout] --> src/main.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn take_vec(v: Vec) -> Array { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe fn from_vec(v: &Vec) -> Array { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_raw_buf` [INFO] [stdout] --> src/main.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe fn from_raw_buf(buf: *mut T, size: usize) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resize` [INFO] [stdout] --> src/main.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe fn resize(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/main.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn copy(&self) -> Array { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/main.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/main.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe fn set(&self, index: usize, value: T) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shift_from` [INFO] [stdout] --> src/main.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe fn shift_from(&mut self, index: usize, amt: isize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe fn new() -> ArrayList { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/main.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe fn from_vec(v: &Vec) -> ArrayList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/main.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe fn set(&self, index: usize, value: T) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/main.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | unsafe fn push(&mut self, index: usize, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/main.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_back` [INFO] [stdout] --> src/main.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe fn push_back(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/main.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 272 | unsafe fn pop(&mut self, index: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_front` [INFO] [stdout] --> src/main.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 290 | unsafe fn pop_front(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_back` [INFO] [stdout] --> src/main.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | unsafe fn pop_back(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc_layout_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 243 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 258 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 280 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dynamic_array` due to 2 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5d353eff2aa1ed593b610438c26ae2a692dfe2f37fdd320bfd18bc70a78fcf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d353eff2aa1ed593b610438c26ae2a692dfe2f37fdd320bfd18bc70a78fcf3", kill_on_drop: false }` [INFO] [stdout] a5d353eff2aa1ed593b610438c26ae2a692dfe2f37fdd320bfd18bc70a78fcf3