[INFO] fetching crate lucet-analyze 0.1.2... [INFO] checking lucet-analyze-0.1.2 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate lucet-analyze 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate lucet-analyze 0.1.2 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lucet-analyze 0.1.2 [INFO] finished tweaking crates.io crate lucet-analyze 0.1.2 [INFO] tweaked toml for crates.io crate lucet-analyze 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0be766a1ff718d3b008a25231c188c5b1991440ea296fbde0deb44aacba338c4 [INFO] running `Command { std: "docker" "start" "-a" "0be766a1ff718d3b008a25231c188c5b1991440ea296fbde0deb44aacba338c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be766a1ff718d3b008a25231c188c5b1991440ea296fbde0deb44aacba338c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be766a1ff718d3b008a25231c188c5b1991440ea296fbde0deb44aacba338c4", kill_on_drop: false }` [INFO] [stdout] 0be766a1ff718d3b008a25231c188c5b1991440ea296fbde0deb44aacba338c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36eec4a9de33495589497eb31790922f61d479b74d3214d9a244c6603e0de1b9 [INFO] running `Command { std: "docker" "start" "-a" "36eec4a9de33495589497eb31790922f61d479b74d3214d9a244c6603e0de1b9", kill_on_drop: false }` [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling cranelift-entity v0.31.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.31.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rpassword v3.0.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking parity-wasm v0.38.0 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking scrypt v0.2.0 [INFO] [stderr] Checking cranelift-bforest v0.31.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking minisign v0.5.11 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking goblin v0.0.22 [INFO] [stderr] Checking goblin v0.0.21 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling cranelift-codegen v0.31.0 [INFO] [stderr] Compiling target-lexicon v0.4.0 [INFO] [stderr] Checking object v0.12.0 [INFO] [stderr] Checking lucet-module-data v0.1.2 [INFO] [stderr] Checking lucet-analyze v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `module_data_bytes` and `module_data` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct ArtifactSummary<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | module_data_bytes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | module_data: Option, Error>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtifactSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct DataSegment { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSegment` 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 `parse_data_segments` is never used [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl<'a> ArtifactSummary<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn parse_data_segments(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | ... self.exported_functions.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | ... self.imported_symbols.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lucet-analyze` (bin "lucet-analyze" test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `module_data_bytes` and `module_data` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct ArtifactSummary<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | module_data_bytes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | module_data: Option, Error>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtifactSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct DataSegment { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSegment` 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 `parse_data_segments` is never used [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl<'a> ArtifactSummary<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn parse_data_segments(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | ... self.exported_functions.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | ... self.imported_symbols.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lucet-analyze` (bin "lucet-analyze") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36eec4a9de33495589497eb31790922f61d479b74d3214d9a244c6603e0de1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36eec4a9de33495589497eb31790922f61d479b74d3214d9a244c6603e0de1b9", kill_on_drop: false }` [INFO] [stdout] 36eec4a9de33495589497eb31790922f61d479b74d3214d9a244c6603e0de1b9