[INFO] cloning repository https://github.com/An-n-ya/linker_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/An-n-ya/linker_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAn-n-ya%2Flinker_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAn-n-ya%2Flinker_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c083bf5fa867514fd2a8d0f129053d52fea32fd
[INFO] testing An-n-ya/linker_rs against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAn-n-ya%2Flinker_rs" "/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/An-n-ya/linker_rs
[INFO] finished tweaking git repo https://github.com/An-n-ya/linker_rs
[INFO] tweaked toml for git repo https://github.com/An-n-ya/linker_rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/An-n-ya/linker_rs on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/An-n-ya/linker_rs 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44b0a1d10bbc51739604be6812169659c63b89f6c017388322c854336b989d08
[INFO] running `Command { std: "docker" "start" "-a" "44b0a1d10bbc51739604be6812169659c63b89f6c017388322c854336b989d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44b0a1d10bbc51739604be6812169659c63b89f6c017388322c854336b989d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44b0a1d10bbc51739604be6812169659c63b89f6c017388322c854336b989d08", kill_on_drop: false }`
[INFO] [stdout] 44b0a1d10bbc51739604be6812169659c63b89f6c017388322c854336b989d08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91d7482c224b39b4fa9ae1d684af74563a10a24015c5a27eabc0aca406a163ed
[INFO] running `Command { std: "docker" "start" "-a" "91d7482c224b39b4fa9ae1d684af74563a10a24015c5a27eabc0aca406a163ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling clap_lex v0.7.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling clap_builder v4.5.8
[INFO] [stderr]    Compiling clap_derive v4.5.8
[INFO] [stderr]    Compiling clap v4.5.8
[INFO] [stderr]    Compiling linker_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Id`
[INFO] [stdout]   --> src/context.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Id,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Id` and `context::Context`
[INFO] [stdout]  --> src/output_section/merged_section.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{context::Context, Id};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `context::Context`
[INFO] [stdout]  --> src/output_section/output_section.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     context::Context,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/utils/input_elf.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     symbol::{self, ShareSymbol, Symbol},
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `section::Section`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use section::Section;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InputMergeableSection` is more private than the item `SectionInfo::mergeable_sections`
[INFO] [stdout]   --> src/utils/input_elf.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub mergeable_sections: Vec<Option<InputMergeableSection>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SectionInfo::mergeable_sections` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `InputMergeableSection` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/utils/input_elf.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct InputMergeableSection {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check` is never used
[INFO] [stdout]   --> src/e_header/ident.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Ident {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn check(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_abs`, `is_common`, and `is_undef` are never used
[INFO] [stdout]    --> src/linker.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl ElfSymbol {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn is_abs(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn is_common(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn is_undef(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `section_id` is never read
[INFO] [stdout]   --> src/output_section/merged_section.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct SectionFragment {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 22 |     section_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionFragment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ShareSection` is never used
[INFO] [stdout]  --> src/section.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type ShareSection = Rc<Mutex<Section>>;
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]   --> src/section.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct Section {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub index: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_write`, `is_alloc`, `is_merge`, and `is_string` are never used
[INFO] [stdout]   --> src/section.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Section {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 15 |     pub fn is_write(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn is_alloc(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn is_merge(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn is_string(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/symbol.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Symbol {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     pub elf: Option<usize>,
[INFO] [stdout] 9 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Symbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_section` is never used
[INFO] [stdout]   --> src/symbol.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Symbol {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn set_section(&mut self, section: Section) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_section` is never used
[INFO] [stdout]    --> src/utils/input_elf.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 76  | impl InputElf {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn find_section(&self, typ: SectionType) -> Option<SectionHeader> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s
[INFO] running `Command { std: "docker" "inspect" "91d7482c224b39b4fa9ae1d684af74563a10a24015c5a27eabc0aca406a163ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91d7482c224b39b4fa9ae1d684af74563a10a24015c5a27eabc0aca406a163ed", kill_on_drop: false }`
[INFO] [stdout] 91d7482c224b39b4fa9ae1d684af74563a10a24015c5a27eabc0aca406a163ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fbbf1d16b2d0b0ad037db91d14445d2696be207aed8f962f2e5289b35acd6910
[INFO] running `Command { std: "docker" "start" "-a" "fbbf1d16b2d0b0ad037db91d14445d2696be207aed8f962f2e5289b35acd6910", kill_on_drop: false }`
[INFO] [stderr]    Compiling linker_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Id`
[INFO] [stdout]   --> src/context.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Id,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Id` and `context::Context`
[INFO] [stdout]  --> src/output_section/merged_section.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{context::Context, Id};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `context::Context`
[INFO] [stdout]  --> src/output_section/output_section.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     context::Context,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/utils/input_elf.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     symbol::{self, ShareSymbol, Symbol},
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `section::Section`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use section::Section;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InputMergeableSection` is more private than the item `SectionInfo::mergeable_sections`
[INFO] [stdout]   --> src/utils/input_elf.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub mergeable_sections: Vec<Option<InputMergeableSection>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SectionInfo::mergeable_sections` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `InputMergeableSection` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/utils/input_elf.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct InputMergeableSection {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check` is never used
[INFO] [stdout]   --> src/e_header/ident.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Ident {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn check(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_abs`, `is_common`, and `is_undef` are never used
[INFO] [stdout]    --> src/linker.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl ElfSymbol {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn is_abs(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn is_common(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn is_undef(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `section_id` is never read
[INFO] [stdout]   --> src/output_section/merged_section.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct SectionFragment {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 22 |     section_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SectionFragment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ShareSection` is never used
[INFO] [stdout]  --> src/section.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type ShareSection = Rc<Mutex<Section>>;
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]   --> src/section.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct Section {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub index: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_write`, `is_alloc`, `is_merge`, and `is_string` are never used
[INFO] [stdout]   --> src/section.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Section {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 15 |     pub fn is_write(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn is_alloc(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn is_merge(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn is_string(&self, ctx: &Context) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/symbol.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Symbol {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     pub elf: Option<usize>,
[INFO] [stdout] 9 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Symbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_section` is never used
[INFO] [stdout]   --> src/symbol.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Symbol {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn set_section(&mut self, section: Section) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_section` is never used
[INFO] [stdout]    --> src/utils/input_elf.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 76  | impl InputElf {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn find_section(&self, typ: SectionType) -> Option<SectionHeader> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "fbbf1d16b2d0b0ad037db91d14445d2696be207aed8f962f2e5289b35acd6910", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbbf1d16b2d0b0ad037db91d14445d2696be207aed8f962f2e5289b35acd6910", kill_on_drop: false }`
[INFO] [stdout] fbbf1d16b2d0b0ad037db91d14445d2696be207aed8f962f2e5289b35acd6910
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c1aea4f58a7baf8b3e09efcdbbba8268f4cba727d7878c350235e1c54e032919
[INFO] running `Command { std: "docker" "start" "-a" "c1aea4f58a7baf8b3e09efcdbbba8268f4cba727d7878c350235e1c54e032919", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Id`
[INFO] [stderr]   --> src/context.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     Id,
[INFO] [stderr]    |     ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Id` and `context::Context`
[INFO] [stderr]  --> src/output_section/merged_section.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{context::Context, Id};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^^  ^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `context::Context`
[INFO] [stderr]  --> src/output_section/output_section.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     context::Context,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]   --> src/utils/input_elf.rs:18:14
[INFO] [stderr]    |
[INFO] [stderr] 18 |     symbol::{self, ShareSymbol, Symbol},
[INFO] [stderr]    |              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `section::Section`
[INFO] [stderr]   --> src/main.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use section::Section;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `InputMergeableSection` is more private than the item `SectionInfo::mergeable_sections`
[INFO] [stderr]   --> src/utils/input_elf.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub mergeable_sections: Vec<Option<InputMergeableSection>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SectionInfo::mergeable_sections` is reachable at visibility `pub(crate)`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `InputMergeableSection` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/utils/input_elf.rs:39:1
[INFO] [stderr]    |
[INFO] [stderr] 39 | struct InputMergeableSection {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `check` is never used
[INFO] [stderr]   --> src/e_header/ident.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | impl Ident {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pub fn check(&self) {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `is_abs`, `is_common`, and `is_undef` are never used
[INFO] [stderr]    --> src/linker.rs:175:12
[INFO] [stderr]     |
[INFO] [stderr] 160 | impl ElfSymbol {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 175 |     pub fn is_abs(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 178 |     pub fn is_common(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub fn is_undef(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `section_id` is never read
[INFO] [stderr]   --> src/output_section/merged_section.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct SectionFragment {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] 22 |     section_id: usize,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SectionFragment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `ShareSection` is never used
[INFO] [stderr]  --> src/section.rs:5:10
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub type ShareSection = Rc<Mutex<Section>>;
[INFO] [stderr]   |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `index` is never read
[INFO] [stderr]   --> src/section.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 7  | pub struct Section {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub index: usize,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `is_write`, `is_alloc`, `is_merge`, and `is_string` are never used
[INFO] [stderr]   --> src/section.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Section {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] 15 |     pub fn is_write(&self, ctx: &Context) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub fn is_alloc(&self, ctx: &Context) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     pub fn is_merge(&self, ctx: &Context) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     pub fn is_string(&self, ctx: &Context) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]  --> src/symbol.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Symbol {
[INFO] [stderr]   |            ------ field in this struct
[INFO] [stderr] 8 |     pub elf: Option<usize>,
[INFO] [stderr] 9 |     pub name: String,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Symbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_section` is never used
[INFO] [stderr]   --> src/symbol.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Symbol {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 33 |     pub fn set_section(&mut self, section: Section) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `find_section` is never used
[INFO] [stderr]    --> src/utils/input_elf.rs:182:12
[INFO] [stderr]     |
[INFO] [stderr] 76  | impl InputElf {
[INFO] [stderr]     | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 182 |     pub fn find_section(&self, typ: SectionType) -> Option<SectionHeader> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `linker_rs` (bin "linker_rs" test) generated 15 warnings (run `cargo fix --bin "linker_rs" --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/linker_rs-10e9c9bdafbc85bc)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c1aea4f58a7baf8b3e09efcdbbba8268f4cba727d7878c350235e1c54e032919", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1aea4f58a7baf8b3e09efcdbbba8268f4cba727d7878c350235e1c54e032919", kill_on_drop: false }`
[INFO] [stdout] c1aea4f58a7baf8b3e09efcdbbba8268f4cba727d7878c350235e1c54e032919
