[INFO] cloning repository https://github.com/mox692/mfs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mox692/mfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmox692%2Fmfs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmox692%2Fmfs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e101246d6523416246ea3a3d01c4130720a47e2f [INFO] checking mox692/mfs against try#d42a007e04d1d7df0de258d39ac2402f35aba932 for pr-103029-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmox692%2Fmfs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mox692/mfs on toolchain d42a007e04d1d7df0de258d39ac2402f35aba932 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d42a007e04d1d7df0de258d39ac2402f35aba932" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mox692/mfs [INFO] finished tweaking git repo https://github.com/mox692/mfs [INFO] tweaked toml for git repo https://github.com/mox692/mfs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mox692/mfs 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" "+d42a007e04d1d7df0de258d39ac2402f35aba932" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+d42a007e04d1d7df0de258d39ac2402f35aba932" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 208ab44ffc5d4fe571bd424674698a181726c596d95fdb016f2a86784c52cfe2 [INFO] running `Command { std: "docker" "start" "-a" "208ab44ffc5d4fe571bd424674698a181726c596d95fdb016f2a86784c52cfe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "208ab44ffc5d4fe571bd424674698a181726c596d95fdb016f2a86784c52cfe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208ab44ffc5d4fe571bd424674698a181726c596d95fdb016f2a86784c52cfe2", kill_on_drop: false }` [INFO] [stdout] 208ab44ffc5d4fe571bd424674698a181726c596d95fdb016f2a86784c52cfe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+d42a007e04d1d7df0de258d39ac2402f35aba932" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 719fe97f11bcae832bf79c303bb072ff0b26adeb4d2a3d3343efee5c257fd6ff [INFO] running `Command { std: "docker" "start" "-a" "719fe97f11bcae832bf79c303bb072ff0b26adeb4d2a3d3343efee5c257fd6ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking mfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/common/stack.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/fs.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/fs.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/storage/storage.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/storage/storage.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | s = Self::STORAGE_SIZE - offset [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/storage.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | | Err(e) => Err(MyError::with_msg(String::from("alloc: error"))), [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: `value_info` [INFO] [stdout] --> src/storage/storage.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | value_info: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/common/stack.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VecStack [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | inner : Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VecStack` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_with_init_data`, `push`, `push_clone`, and `push_rc` are never used [INFO] [stdout] --> src/common/stack.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl VecStack [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_with_init_data() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn push(&mut self, data: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push_clone(&mut self, data: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn push_rc(&mut self, data: T) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_addr` and `size` are never read [INFO] [stdout] --> src/storage/storage.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MemStorage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | mem: [u8; 100000], [INFO] [stdout] 17 | start_addr: P, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | size: Q, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_allocator` is never used [INFO] [stdout] --> src/storage/storage.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl MemStorage, MyError> { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn new_with_allocator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/storage/storage.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | s = Self::STORAGE_SIZE - offset [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/storage.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | | Err(e) => Err(MyError::with_msg(String::from("alloc: error"))), [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: `value_info` [INFO] [stdout] --> src/storage/storage.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | value_info: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/common/stack.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VecStack [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | inner : Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VecStack` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_with_init_data`, `push`, `push_clone`, and `push_rc` are never used [INFO] [stdout] --> src/common/stack.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl VecStack [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_with_init_data() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn push(&mut self, data: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push_clone(&mut self, data: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn push_rc(&mut self, data: T) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_addr` and `size` are never read [INFO] [stdout] --> src/storage/storage.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MemStorage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | mem: [u8; 100000], [INFO] [stdout] 17 | start_addr: P, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | size: Q, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_allocator` is never used [INFO] [stdout] --> src/storage/storage.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl MemStorage, MyError> { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn new_with_allocator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "719fe97f11bcae832bf79c303bb072ff0b26adeb4d2a3d3343efee5c257fd6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719fe97f11bcae832bf79c303bb072ff0b26adeb4d2a3d3343efee5c257fd6ff", kill_on_drop: false }` [INFO] [stdout] 719fe97f11bcae832bf79c303bb072ff0b26adeb4d2a3d3343efee5c257fd6ff