[INFO] cloning repository https://github.com/YdrMaster/kernel-layout
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YdrMaster/kernel-layout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYdrMaster%2Fkernel-layout", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYdrMaster%2Fkernel-layout'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9f7c238d8792bc58543d9aa24337cd91302c8f04
[INFO] checking YdrMaster/kernel-layout against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYdrMaster%2Fkernel-layout" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/YdrMaster/kernel-layout
[INFO] finished tweaking git repo https://github.com/YdrMaster/kernel-layout
[INFO] tweaked toml for git repo https://github.com/YdrMaster/kernel-layout written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/YdrMaster/kernel-layout on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/YdrMaster/kernel-layout 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05
[INFO] running `Command { std: "docker" "start" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05", 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" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05", 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" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling linker v0.1.0 (/opt/rustwide/workdir/linker)
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let offset = START - _start as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> linker/src/lib.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | #![deny(warnings, missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(function_casts_as_integer)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let offset = START - _start as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |             start: _start as usize + offset,
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 76 |             start: _start as *const () as usize + offset,
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |             bss: _bss as usize + offset,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 77 |             bss: _bss as *const () as usize + offset,
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             end: _end as usize + offset,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 78 |             end: _end as *const () as usize + offset,
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let offset = START - _start as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> linker/src/lib.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | #![deny(warnings, missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(function_casts_as_integer)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let offset = START - _start as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |             start: _start as usize + offset,
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 76 |             start: _start as *const () as usize + offset,
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |             bss: _bss as usize + offset,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 77 |             bss: _bss as *const () as usize + offset,
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             end: _end as usize + offset,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 78 |             end: _end as *const () as usize + offset,
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linker` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `linker` (lib) due to 4 previous errors
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let offset = START - _start as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> linker/src/lib.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | #![deny(warnings, missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(function_casts_as_integer)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let offset = START - _start as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |             start: _start as usize + offset,
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 76 |             start: _start as *const () as usize + offset,
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |             bss: _bss as usize + offset,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 77 |             bss: _bss as *const () as usize + offset,
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: direct cast of function item into an integer
[INFO] [stdout]   --> linker/src/lib.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             end: _end as usize + offset,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 78 |             end: _end as *const () as usize + offset,
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linker` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05", kill_on_drop: false }`
[INFO] [stdout] 2f23b5516f11feb523fe1936889fc660d090f2239e1021d981d503634157fc05
