[INFO] cloning repository https://github.com/lyh552506/linker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lyh552506/linker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyh552506%2Flinker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyh552506%2Flinker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49e03cc2a461288ce8b4f4edd1a5f93483d89120 [INFO] testing lyh552506/linker against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyh552506%2Flinker" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lyh552506/linker [INFO] finished tweaking git repo https://github.com/lyh552506/linker [INFO] tweaked toml for git repo https://github.com/lyh552506/linker written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lyh552506/linker on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lyh552506/linker 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll_derive v0.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded goblin v0.8.2 [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ab6af15f54bd117ba146a56a614f054dfa595620b60f4b01049761d3752a928 [INFO] running `Command { std: "docker" "start" "-a" "2ab6af15f54bd117ba146a56a614f054dfa595620b60f4b01049761d3752a928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ab6af15f54bd117ba146a56a614f054dfa595620b60f4b01049761d3752a928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab6af15f54bd117ba146a56a614f054dfa595620b60f4b01049761d3752a928", kill_on_drop: false }` [INFO] [stdout] 2ab6af15f54bd117ba146a56a614f054dfa595620b60f4b01049761d3752a928 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e8a9fc19a3eb7439a851ef540cc8794a35ee0273e8821160f7cd9233fe31047 [INFO] running `Command { std: "docker" "start" "-a" "9e8a9fc19a3eb7439a851ef540cc8794a35ee0273e8821160f7cd9233fe31047", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling goblin v0.8.2 [INFO] [stderr] Compiling my_linker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `initialize_sections` found for struct `RefMut<'_, ObjFile>` in the current scope [INFO] [stdout] --> src/lib/utils.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | let res = o_rc.borrow_mut().initialize_sections(&o_rc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `RefMut<'_, ObjFile>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sections` on type `RefMut<'_, ObjFile>` [INFO] [stdout] --> src/lib/utils.rs:198:31 [INFO] [stdout] | [INFO] [stdout] 198 | o_rc.borrow_mut().sections[inx as usize] = §ion::Section::new(&o_rc, inx) [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `objfile`, `sym_tab`, `sym_str_tab`, `global_pos`, `symbols` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `initialize_symbols` is private [INFO] [stdout] --> src/lib/utils.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | o_rc.borrow_mut().initialize_symbols(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/lib/objfile.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fn initialize_symbols(&mut self, elf: &mut MyElf) { [INFO] [stdout] | ------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `initialize_mergeable_sections` is private [INFO] [stdout] --> src/lib/utils.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | o_rc.borrow_mut().initialize_mergeable_sections(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/lib/objfile.rs:149:2 [INFO] [stdout] | [INFO] [stdout] 149 | fn initialize_mergeable_sections(&mut self, elf: &MyElf){ [INFO] [stdout] | -------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my_linker` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9e8a9fc19a3eb7439a851ef540cc8794a35ee0273e8821160f7cd9233fe31047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8a9fc19a3eb7439a851ef540cc8794a35ee0273e8821160f7cd9233fe31047", kill_on_drop: false }` [INFO] [stdout] 9e8a9fc19a3eb7439a851ef540cc8794a35ee0273e8821160f7cd9233fe31047