[INFO] cloning repository https://github.com/sisshiki1969/jit-debug
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sisshiki1969/jit-debug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsisshiki1969%2Fjit-debug", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsisshiki1969%2Fjit-debug'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 213c72512761f815fc0b067ce68ee0ae12962e2a
[INFO] checking sisshiki1969/jit-debug against try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsisshiki1969%2Fjit-debug" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sisshiki1969/jit-debug
[INFO] finished tweaking git repo https://github.com/sisshiki1969/jit-debug
[INFO] tweaked toml for git repo https://github.com/sisshiki1969/jit-debug written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sisshiki1969/jit-debug on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sisshiki1969/jit-debug 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca
[INFO] running `Command { std: "docker" "start" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca", 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" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca", 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" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking twox-hash v2.1.1
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking ruzstd v0.8.1
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking gimli v0.32.0
[INFO] [stderr]     Checking jit_dwarf_min v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `DieId` in `gw`
[INFO] [stdout]    --> src/main.rs:154:57
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                                                         ^^^^^ could not find `DieId` in `gw`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 154 -     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout] 154 +     let func_id = unit.add(gw::UnitEntryId::new(0), gw::CieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `AddressTable` in `gw`
[INFO] [stdout]    --> src/main.rs:184:30
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut addr_table = gw::AddressTable::default();
[INFO] [stdout]     |                              ^^^^^^^^^^^^ could not find `AddressTable` in `gw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `DwarfSection` in `gw`
[INFO] [stdout]    --> src/main.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let mut dwarf_out = gw::DwarfSection::default();
[INFO] [stdout]     |                             ^^^^^^^^^^^^ could not find `DwarfSection` in `gw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_id_for` found for struct `gimli::write::LineProgram` in the current scope
[INFO] [stdout]    --> src/main.rs:135:32
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let file_id = line_program.file_id_for(&gw::FileInfo {
[INFO] [stdout]     |                   -------------^^^^^^^^^^^ method not found in `gimli::write::LineProgram`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `FileInfo` has no field named `path`
[INFO] [stdout]    --> src/main.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         path: gw::LineString::String(strings.get_ref(file_name).clone()),
[INFO] [stdout]     |         ^^^^ `FileInfo` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:136:46
[INFO] [stdout]     |
[INFO] [stdout] 136 |         path: gw::LineString::String(strings.get_ref(file_name).clone()),
[INFO] [stdout]     |                                              ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `FileInfo` has no field named `directory`
[INFO] [stdout]    --> src/main.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         directory: Some(gw::LineString::String(strings.get_ref(comp_dir).clone())),
[INFO] [stdout]     |         ^^^^^^^^^ `FileInfo` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:137:56
[INFO] [stdout]     |
[INFO] [stdout] 137 |         directory: Some(gw::LineString::String(strings.get_ref(comp_dir).clone())),
[INFO] [stdout]     |                                                        ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         md5: None,
[INFO] [stdout]     |              ^^^^ expected `[u8; 16]`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected array `[u8; 16]`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 139 |         size: None,
[INFO] [stdout]     |               ^^^^ expected `u64`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u64`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:148:10
[INFO] [stdout]     |
[INFO] [stdout] 148 |     unit.name = Some(strings.add("jit_unit").into());
[INFO] [stdout]     |          ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `comp_dir` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 |     unit.comp_dir = Some(strings.get_ref(comp_dir).clone().into());
[INFO] [stdout]     |          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:149:34
[INFO] [stdout]     |
[INFO] [stdout] 149 |     unit.comp_dir = Some(strings.get_ref(comp_dir).clone().into());
[INFO] [stdout]     |                                  ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `producer` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 |     unit.producer = Some(strings.get_ref(producer).clone().into());
[INFO] [stdout]     |          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:150:34
[INFO] [stdout]     |
[INFO] [stdout] 150 |     unit.producer = Some(strings.get_ref(producer).clone().into());
[INFO] [stdout]     |                                  ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `language` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:151:10
[INFO] [stdout]     |
[INFO] [stdout] 151 |     unit.language = Some(g::DW_LANG_Rust);
[INFO] [stdout]     |          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> src/main.rs:154:45
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                                             ^^^ private associated function
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/mod.rs:91:13
[INFO] [stdout]     |
[INFO] [stdout]  91 |             fn new(base_id: BaseId, index: usize) -> Self {
[INFO] [stdout]     |             --------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:154:28
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^ - argument #1 of type `gimli::write::BaseId` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/mod.rs:91:16
[INFO] [stdout]     |
[INFO] [stdout]  91 |             fn new(base_id: BaseId, index: usize) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/unit.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout]  20 | define_id!(UnitEntryId, "An identifier for an entry in a `Unit`.");
[INFO] [stdout]     | ------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `define_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(/* gimli::write::BaseId */, 0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                                                 +++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for struct `UnitEntryId` in the current scope
[INFO] [stdout]    --> src/main.rs:155:32
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let func_die = unit.root().add(unit.encoding(), g::DW_TAG_subprogram);
[INFO] [stdout]     |                    ----        ^^^ method not found in `UnitEntryId`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    method `add` is available on `&gimli::write::Unit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:160:36
[INFO] [stdout]     |
[INFO] [stdout] 160 |         gw::AttributeValue::String(strings.add("jit_func")),
[INFO] [stdout]     |         -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<u8>`, found `StringId`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]                found struct `gimli::write::StringId`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/unit.rs:844:5
[INFO] [stdout]     |
[INFO] [stdout] 844 |     String(Vec<u8>),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_unit` found for struct `gimli::write::Dwarf` in the current scope
[INFO] [stdout]    --> src/main.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let unit_id = dwarf.add_unit(unit);
[INFO] [stdout]     |                         ^^^^^^^^ method not found in `gimli::write::Dwarf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:173:31
[INFO] [stdout]     |
[INFO] [stdout]  77 | fn build_one_function_elf_with_dwarf() -> (Vec<u8>, u64) {
[INFO] [stdout]     | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 173 |     obj.write_stream(&mut elf)?;
[INFO] [stdout]     |                               ^ cannot use the `?` operator in a function that returns `(Vec<u8>, u64)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Absolute` found for enum `gimli::write::Address` in the current scope
[INFO] [stdout]    --> src/main.rs:185:63
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let text_base_index = addr_table.add_address(gw::Address::Absolute(text_addr));
[INFO] [stdout]     |                                                               ^^^^^^^^ variant, associated function, or constant not found in `gimli::write::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unit_mut` found for struct `gimli::write::Dwarf` in the current scope
[INFO] [stdout]    --> src/main.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let u = dwarf.unit_mut(unit_id);
[INFO] [stdout]     |                   ^^^^^^^^ method not found in `gimli::write::Dwarf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Absolute` found for enum `gimli::write::Address` in the current scope
[INFO] [stdout]    --> src/main.rs:195:50
[INFO] [stdout]     |
[INFO] [stdout] 195 |         gw::AttributeValue::Address(gw::Address::Absolute(text_addr)),
[INFO] [stdout]     |                                                  ^^^^^^^^ variant, associated function, or constant not found in `gimli::write::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Absolute` found for enum `gimli::write::Address` in the current scope
[INFO] [stdout]    --> src/main.rs:204:41
[INFO] [stdout]     |
[INFO] [stdout] 204 |     lp.begin_sequence(Some(gw::Address::Absolute(text_addr)));
[INFO] [stdout]     |                                         ^^^^^^^^ variant, associated function, or constant not found in `gimli::write::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 4 arguments were supplied
[INFO] [stdout]    --> src/main.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |     dwarf.write(&mut sections, &strings, &addr_table, endian)?;
[INFO] [stdout]     |           ^^^^^                --------  -----------  ------ unexpected argument #4 of type `RunTimeEndian`
[INFO] [stdout]     |                                |         |
[INFO] [stdout]     |                                |         unexpected argument #3
[INFO] [stdout]     |                                unexpected argument #2 of type `&gimli::write::StringTable`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/dwarf.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  37 |     pub fn write<W: Writer>(&mut self, sections: &mut Sections<W>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]     |
[INFO] [stdout] 216 -     dwarf.write(&mut sections, &strings, &addr_table, endian)?;
[INFO] [stdout] 216 +     dwarf.write(&mut sections)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:216:62
[INFO] [stdout]     |
[INFO] [stdout]  77 | fn build_one_function_elf_with_dwarf() -> (Vec<u8>, u64) {
[INFO] [stdout]     | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 216 |     dwarf.write(&mut sections, &strings, &addr_table, endian)?;
[INFO] [stdout]     |                                                              ^ cannot use the `?` operator in a function that returns `(Vec<u8>, u64)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:240:38
[INFO] [stdout]     |
[INFO] [stdout]  77 | fn build_one_function_elf_with_dwarf() -> (Vec<u8>, u64) {
[INFO] [stdout]     | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 240 |     obj.write_stream(&mut final_blob)?;
[INFO] [stdout]     |                                      ^ cannot use the `?` operator in a function that returns `(Vec<u8>, u64)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jit_dwarf_min` (bin "jit_dwarf_min") due to 30 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `text_addr`
[INFO] [stdout]   --> src/main.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let (elf_blob, text_addr) = build_one_function_elf_with_dwarf();
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |         timestamp: None,
[INFO] [stdout]     |                    ^^^^ expected `u64`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u64`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0433, E0560, E0599, E0609, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `DieId` in `gw`
[INFO] [stdout]    --> src/main.rs:154:57
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                                                         ^^^^^ could not find `DieId` in `gw`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 154 -     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout] 154 +     let func_id = unit.add(gw::UnitEntryId::new(0), gw::CieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `AddressTable` in `gw`
[INFO] [stdout]    --> src/main.rs:184:30
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut addr_table = gw::AddressTable::default();
[INFO] [stdout]     |                              ^^^^^^^^^^^^ could not find `AddressTable` in `gw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `DwarfSection` in `gw`
[INFO] [stdout]    --> src/main.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let mut dwarf_out = gw::DwarfSection::default();
[INFO] [stdout]     |                             ^^^^^^^^^^^^ could not find `DwarfSection` in `gw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_id_for` found for struct `gimli::write::LineProgram` in the current scope
[INFO] [stdout]    --> src/main.rs:135:32
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let file_id = line_program.file_id_for(&gw::FileInfo {
[INFO] [stdout]     |                   -------------^^^^^^^^^^^ method not found in `gimli::write::LineProgram`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `FileInfo` has no field named `path`
[INFO] [stdout]    --> src/main.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         path: gw::LineString::String(strings.get_ref(file_name).clone()),
[INFO] [stdout]     |         ^^^^ `FileInfo` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:136:46
[INFO] [stdout]     |
[INFO] [stdout] 136 |         path: gw::LineString::String(strings.get_ref(file_name).clone()),
[INFO] [stdout]     |                                              ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `FileInfo` has no field named `directory`
[INFO] [stdout]    --> src/main.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         directory: Some(gw::LineString::String(strings.get_ref(comp_dir).clone())),
[INFO] [stdout]     |         ^^^^^^^^^ `FileInfo` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:137:56
[INFO] [stdout]     |
[INFO] [stdout] 137 |         directory: Some(gw::LineString::String(strings.get_ref(comp_dir).clone())),
[INFO] [stdout]     |                                                        ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         md5: None,
[INFO] [stdout]     |              ^^^^ expected `[u8; 16]`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected array `[u8; 16]`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 139 |         size: None,
[INFO] [stdout]     |               ^^^^ expected `u64`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u64`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:148:10
[INFO] [stdout]     |
[INFO] [stdout] 148 |     unit.name = Some(strings.add("jit_unit").into());
[INFO] [stdout]     |          ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `comp_dir` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 |     unit.comp_dir = Some(strings.get_ref(comp_dir).clone().into());
[INFO] [stdout]     |          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:149:34
[INFO] [stdout]     |
[INFO] [stdout] 149 |     unit.comp_dir = Some(strings.get_ref(comp_dir).clone().into());
[INFO] [stdout]     |                                  ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `producer` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 |     unit.producer = Some(strings.get_ref(producer).clone().into());
[INFO] [stdout]     |          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_ref` found for struct `gimli::write::StringTable` in the current scope
[INFO] [stdout]    --> src/main.rs:150:34
[INFO] [stdout]     |
[INFO] [stdout] 150 |     unit.producer = Some(strings.get_ref(producer).clone().into());
[INFO] [stdout]     |                                  ^^^^^^^ method not found in `gimli::write::StringTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `language` on type `gimli::write::Unit`
[INFO] [stdout]    --> src/main.rs:151:10
[INFO] [stdout]     |
[INFO] [stdout] 151 |     unit.language = Some(g::DW_LANG_Rust);
[INFO] [stdout]     |          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `line_program`, `ranges`, `locations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> src/main.rs:154:45
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                                             ^^^ private associated function
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/mod.rs:91:13
[INFO] [stdout]     |
[INFO] [stdout]  91 |             fn new(base_id: BaseId, index: usize) -> Self {
[INFO] [stdout]     |             --------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:154:28
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^ - argument #1 of type `gimli::write::BaseId` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/mod.rs:91:16
[INFO] [stdout]     |
[INFO] [stdout]  91 |             fn new(base_id: BaseId, index: usize) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/unit.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout]  20 | define_id!(UnitEntryId, "An identifier for an entry in a `Unit`.");
[INFO] [stdout]     | ------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `define_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let func_id = unit.add(gw::UnitEntryId::new(/* gimli::write::BaseId */, 0), gw::DieId::new()); // placeholder; we will actually use add with parent
[INFO] [stdout]     |                                                 +++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for struct `UnitEntryId` in the current scope
[INFO] [stdout]    --> src/main.rs:155:32
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let func_die = unit.root().add(unit.encoding(), g::DW_TAG_subprogram);
[INFO] [stdout]     |                    ----        ^^^ method not found in `UnitEntryId`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    method `add` is available on `&gimli::write::Unit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:160:36
[INFO] [stdout]     |
[INFO] [stdout] 160 |         gw::AttributeValue::String(strings.add("jit_func")),
[INFO] [stdout]     |         -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<u8>`, found `StringId`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]                found struct `gimli::write::StringId`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/unit.rs:844:5
[INFO] [stdout]     |
[INFO] [stdout] 844 |     String(Vec<u8>),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_unit` found for struct `gimli::write::Dwarf` in the current scope
[INFO] [stdout]    --> src/main.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let unit_id = dwarf.add_unit(unit);
[INFO] [stdout]     |                         ^^^^^^^^ method not found in `gimli::write::Dwarf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:173:31
[INFO] [stdout]     |
[INFO] [stdout]  77 | fn build_one_function_elf_with_dwarf() -> (Vec<u8>, u64) {
[INFO] [stdout]     | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 173 |     obj.write_stream(&mut elf)?;
[INFO] [stdout]     |                               ^ cannot use the `?` operator in a function that returns `(Vec<u8>, u64)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Absolute` found for enum `gimli::write::Address` in the current scope
[INFO] [stdout]    --> src/main.rs:185:63
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let text_base_index = addr_table.add_address(gw::Address::Absolute(text_addr));
[INFO] [stdout]     |                                                               ^^^^^^^^ variant, associated function, or constant not found in `gimli::write::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unit_mut` found for struct `gimli::write::Dwarf` in the current scope
[INFO] [stdout]    --> src/main.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let u = dwarf.unit_mut(unit_id);
[INFO] [stdout]     |                   ^^^^^^^^ method not found in `gimli::write::Dwarf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Absolute` found for enum `gimli::write::Address` in the current scope
[INFO] [stdout]    --> src/main.rs:195:50
[INFO] [stdout]     |
[INFO] [stdout] 195 |         gw::AttributeValue::Address(gw::Address::Absolute(text_addr)),
[INFO] [stdout]     |                                                  ^^^^^^^^ variant, associated function, or constant not found in `gimli::write::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Absolute` found for enum `gimli::write::Address` in the current scope
[INFO] [stdout]    --> src/main.rs:204:41
[INFO] [stdout]     |
[INFO] [stdout] 204 |     lp.begin_sequence(Some(gw::Address::Absolute(text_addr)));
[INFO] [stdout]     |                                         ^^^^^^^^ variant, associated function, or constant not found in `gimli::write::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 4 arguments were supplied
[INFO] [stdout]    --> src/main.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |     dwarf.write(&mut sections, &strings, &addr_table, endian)?;
[INFO] [stdout]     |           ^^^^^                --------  -----------  ------ unexpected argument #4 of type `RunTimeEndian`
[INFO] [stdout]     |                                |         |
[INFO] [stdout]     |                                |         unexpected argument #3
[INFO] [stdout]     |                                unexpected argument #2 of type `&gimli::write::StringTable`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gimli-0.32.0/src/write/dwarf.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  37 |     pub fn write<W: Writer>(&mut self, sections: &mut Sections<W>) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]     |
[INFO] [stdout] 216 -     dwarf.write(&mut sections, &strings, &addr_table, endian)?;
[INFO] [stdout] 216 +     dwarf.write(&mut sections)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:216:62
[INFO] [stdout]     |
[INFO] [stdout]  77 | fn build_one_function_elf_with_dwarf() -> (Vec<u8>, u64) {
[INFO] [stdout]     | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 216 |     dwarf.write(&mut sections, &strings, &addr_table, endian)?;
[INFO] [stdout]     |                                                              ^ cannot use the `?` operator in a function that returns `(Vec<u8>, u64)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:240:38
[INFO] [stdout]     |
[INFO] [stdout]  77 | fn build_one_function_elf_with_dwarf() -> (Vec<u8>, u64) {
[INFO] [stdout]     | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 240 |     obj.write_stream(&mut final_blob)?;
[INFO] [stdout]     |                                      ^ cannot use the `?` operator in a function that returns `(Vec<u8>, u64)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_addr`
[INFO] [stdout]   --> src/main.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let (elf_blob, text_addr) = build_one_function_elf_with_dwarf();
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |         timestamp: None,
[INFO] [stdout]     |                    ^^^^ expected `u64`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u64`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0433, E0560, E0599, E0609, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jit_dwarf_min` (bin "jit_dwarf_min" test) due to 30 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca", kill_on_drop: false }`
[INFO] [stdout] c2b0e55ed4073c60b20c2f759b8b79994da4a4a82728a4b17c18481b56d41cca
