[INFO] cloning repository https://github.com/mghildiy/os-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mghildiy/os-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmghildiy%2Fos-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmghildiy%2Fos-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7a329f9fd33e0ccc341410cdbea2a45579588c9 [INFO] checking mghildiy/os-experiments against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmghildiy%2Fos-experiments" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mghildiy/os-experiments [INFO] finished tweaking git repo https://github.com/mghildiy/os-experiments [INFO] tweaked toml for git repo https://github.com/mghildiy/os-experiments written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mghildiy/os-experiments on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mghildiy/os-experiments 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.10.0-rc-2 [INFO] [stderr] Downloaded chacha20 v0.10.0-rc.5 [INFO] [stderr] Downloaded wit-bindgen v0.46.0 [INFO] [stderr] Downloaded rand v0.10.0-rc.5 [INFO] [stderr] Downloaded wasip2 v1.0.1+wasi-0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921 [INFO] running `Command { std: "docker" "start" "9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking rand_core v0.10.0-rc-2 [INFO] [stderr] Checking chacha20 v0.10.0-rc.5 [INFO] [stderr] Checking rand v0.10.0-rc.5 [INFO] [stderr] Checking db-components v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/layout/cache_analysis.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..10000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/layout/cache_analysis.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | for index in 0..10 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/layout/cache_analysis.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | for index in 0..10 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/layout/cache_analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | val1: i32, [INFO] [stdout] 7 | val2: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | dummy1: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | dummy2: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | dummy3: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | dummy4: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | dummy5: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | dummy6: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | dummy7: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | dummy8: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | dummy9: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | dummy10: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_row_data` is never used [INFO] [stdout] --> src/layout/cache_analysis.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn scan_row_data(records: Vec, look_for: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_col_data` is never used [INFO] [stdout] --> src/layout/cache_analysis.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn scan_col_data(vals: Vec, look_for: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/layout/page_analysis.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageHeader` is never constructed [INFO] [stdout] --> src/layout/page_analysis.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/layout/page_analysis.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slot` is never constructed [INFO] [stdout] --> src/layout/page_analysis.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/layout/page_analysis.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 19 | fn new() -> Page { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn insert(&mut self, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/layout/cache_analysis.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | for i in 0..10000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/layout/cache_analysis.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | for index in 0..10 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/layout/cache_analysis.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | for index in 0..10 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/layout/cache_analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | val1: i32, [INFO] [stdout] 7 | val2: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | dummy1: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | dummy2: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | dummy3: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | dummy4: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | dummy5: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | dummy6: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | dummy7: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | dummy8: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | dummy9: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | dummy10: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_row_data` is never used [INFO] [stdout] --> src/layout/cache_analysis.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn scan_row_data(records: Vec, look_for: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_col_data` is never used [INFO] [stdout] --> src/layout/cache_analysis.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn scan_col_data(vals: Vec, look_for: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/layout/page_analysis.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageHeader` is never constructed [INFO] [stdout] --> src/layout/page_analysis.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/layout/page_analysis.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slot` is never constructed [INFO] [stdout] --> src/layout/page_analysis.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/layout/page_analysis.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 19 | fn new() -> Page { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn insert(&mut self, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921", kill_on_drop: false }` [INFO] [stdout] 9d964c576322fcc4afe21329181e15059fa88d7243ea1ed827e4a63e465a8921