[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCTF-hacmao%2Ffuzz-with-emu" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CTF-hacmao/fuzz-with-emu on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43c55ef68582ebaaa90c34a252050f5bfb8f1662d9bc8c9433fa7459e3928db2 [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" "43c55ef68582ebaaa90c34a252050f5bfb8f1662d9bc8c9433fa7459e3928db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43c55ef68582ebaaa90c34a252050f5bfb8f1662d9bc8c9433fa7459e3928db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c55ef68582ebaaa90c34a252050f5bfb8f1662d9bc8c9433fa7459e3928db2", kill_on_drop: false }` [INFO] [stdout] 43c55ef68582ebaaa90c34a252050f5bfb8f1662d9bc8c9433fa7459e3928db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f32fdd09ee7ef263ddcbbe7e6467138a749aab33b86079cfef0dac2383480f7 [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" "8f32fdd09ee7ef263ddcbbe7e6467138a749aab33b86079cfef0dac2383480f7", 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] [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:9 [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 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] [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: 9 warnings emitted [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:9 [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.95s [INFO] running `Command { std: "docker" "inspect" "8f32fdd09ee7ef263ddcbbe7e6467138a749aab33b86079cfef0dac2383480f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f32fdd09ee7ef263ddcbbe7e6467138a749aab33b86079cfef0dac2383480f7", kill_on_drop: false }` [INFO] [stdout] 8f32fdd09ee7ef263ddcbbe7e6467138a749aab33b86079cfef0dac2383480f7