[INFO] cloning repository https://github.com/CTF-hacmao/fuzz-with-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CTF-hacmao/fuzz-with-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCTF-hacmao%2Ffuzz-with-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCTF-hacmao%2Ffuzz-with-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 274c385f5830a8842872af953d3ab07017f91b3b [INFO] checking CTF-hacmao/fuzz-with-emu against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCTF-hacmao%2Ffuzz-with-emu" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CTF-hacmao/fuzz-with-emu on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CTF-hacmao/fuzz-with-emu [INFO] finished tweaking git repo https://github.com/CTF-hacmao/fuzz-with-emu [INFO] tweaked toml for git repo https://github.com/CTF-hacmao/fuzz-with-emu written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/CTF-hacmao/fuzz-with-emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9fc34feba7d3985dde8415fc11e01c05984f58ac1da8dbe7bb8566cc69c6117 [INFO] running `Command { std: "docker" "start" "-a" "b9fc34feba7d3985dde8415fc11e01c05984f58ac1da8dbe7bb8566cc69c6117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9fc34feba7d3985dde8415fc11e01c05984f58ac1da8dbe7bb8566cc69c6117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9fc34feba7d3985dde8415fc11e01c05984f58ac1da8dbe7bb8566cc69c6117", kill_on_drop: false }` [INFO] [stdout] b9fc34feba7d3985dde8415fc11e01c05984f58ac1da8dbe7bb8566cc69c6117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 369bfa09c3a7a083db29781af348736a80de4b58ecd00dbba7f43778bca7bf0e [INFO] running `Command { std: "docker" "start" "-a" "369bfa09c3a7a083db29781af348736a80de4b58ecd00dbba7f43778bca7bf0e", kill_on_drop: false }` [INFO] [stderr] Checking fuzz_with_emus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / /// Put dirty block in dirty-list if not [INFO] [stdout] 124 | | /// Change dirty-bitmap if not dirty [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 125 | let block_start = addr.0 / DIRTY_BLOCK_SIZE; [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / /// Put dirty block in dirty-list if not [INFO] [stdout] 124 | | /// Change dirty-bitmap if not dirty [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 125 | let block_start = addr.0 / DIRTY_BLOCK_SIZE; [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let base = emu.memory.allocate(4).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut bytes = [0u8; 4]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ii` [INFO] [stdout] --> src/main.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | for ii in 0..100_000_000 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let base = emu.memory.allocate(4).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/main.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut bytes = [0u8; 4]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ii` [INFO] [stdout] --> src/main.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | for ii in 0..100_000_000 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let mut bytes = [0u8; 4]; [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: constant is never used: `PERM_READ` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const PERM_READ: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PERM_EXEC` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const PERM_EXEC: u8 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_from` [INFO] [stdout] --> src/main.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn write_from(&mut self, addr: VirtAddr, buf : &[u8]) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_into` [INFO] [stdout] --> src/main.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn read_into(&mut self, addr: VirtAddr, buf: &mut [u8], size: usize) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let mut bytes = [0u8; 4]; [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PERM_READ` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const PERM_READ: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PERM_EXEC` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const PERM_EXEC: u8 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_from` [INFO] [stdout] --> src/main.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn write_from(&mut self, addr: VirtAddr, buf : &[u8]) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_into` [INFO] [stdout] --> src/main.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn read_into(&mut self, addr: VirtAddr, buf: &mut [u8], size: usize) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "369bfa09c3a7a083db29781af348736a80de4b58ecd00dbba7f43778bca7bf0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "369bfa09c3a7a083db29781af348736a80de4b58ecd00dbba7f43778bca7bf0e", kill_on_drop: false }` [INFO] [stdout] 369bfa09c3a7a083db29781af348736a80de4b58ecd00dbba7f43778bca7bf0e