[INFO] cloning repository https://github.com/ItsaMeTuni/wasm-runtime-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ItsaMeTuni/wasm-runtime-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItsaMeTuni%2Fwasm-runtime-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItsaMeTuni%2Fwasm-runtime-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 387be083a29d19f3515497535319541151514aa9 [INFO] checking ItsaMeTuni/wasm-runtime-rust against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItsaMeTuni%2Fwasm-runtime-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ItsaMeTuni/wasm-runtime-rust on toolchain fc545c6b951a304df08b327c158f92678582f435 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ItsaMeTuni/wasm-runtime-rust [INFO] finished tweaking git repo https://github.com/ItsaMeTuni/wasm-runtime-rust [INFO] tweaked toml for git repo https://github.com/ItsaMeTuni/wasm-runtime-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ItsaMeTuni/wasm-runtime-rust 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" "+fc545c6b951a304df08b327c158f92678582f435" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd9d0baa6d9cec696f9688242521cc111b90b908ebf50d0e1375ab17f84b6897 [INFO] running `Command { std: "docker" "start" "-a" "fd9d0baa6d9cec696f9688242521cc111b90b908ebf50d0e1375ab17f84b6897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd9d0baa6d9cec696f9688242521cc111b90b908ebf50d0e1375ab17f84b6897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9d0baa6d9cec696f9688242521cc111b90b908ebf50d0e1375ab17f84b6897", kill_on_drop: false }` [INFO] [stdout] fd9d0baa6d9cec696f9688242521cc111b90b908ebf50d0e1375ab17f84b6897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28d82fe24c42a89a88a97e742d627ba42c1b556274a538990c705cacc753609d [INFO] running `Command { std: "docker" "start" "-a" "28d82fe24c42a89a88a97e742d627ba42c1b556274a538990c705cacc753609d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking wasm-runtime-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `id` [INFO] [stdout] --> src/module.rs:166:83 [INFO] [stdout] | [INFO] [stdout] 165 | fn get_section_by_id(sections: &Vec
, id: SectionId) -> ParserResult<&Section> { [INFO] [stdout] | -- move occurs because `id` has type `SectionId`, which does not implement the `Copy` trait [INFO] [stdout] 166 | find_section_by_id(sections, id).ok_or(MalformedBytecodeError::MissingSection(id)) [INFO] [stdout] | -- value moved here ^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `find_section_by_id` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/module.rs:160:52 [INFO] [stdout] | [INFO] [stdout] 160 | fn find_section_by_id(sections: &Vec
, id: SectionId) -> Option<&Section> { [INFO] [stdout] | ------------------ in this function ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `SectionId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/module.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | enum SectionId { [INFO] [stdout] | ^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 166 | find_section_by_id(sections, id).ok_or(MalformedBytecodeError::MissingSection(id)) [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `id` [INFO] [stdout] --> src/module.rs:166:83 [INFO] [stdout] | [INFO] [stdout] 165 | fn get_section_by_id(sections: &Vec
, id: SectionId) -> ParserResult<&Section> { [INFO] [stdout] | -- move occurs because `id` has type `SectionId`, which does not implement the `Copy` trait [INFO] [stdout] 166 | find_section_by_id(sections, id).ok_or(MalformedBytecodeError::MissingSection(id)) [INFO] [stdout] | -- value moved here ^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `find_section_by_id` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/module.rs:160:52 [INFO] [stdout] | [INFO] [stdout] 160 | fn find_section_by_id(sections: &Vec
, id: SectionId) -> Option<&Section> { [INFO] [stdout] | ------------------ in this function ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `SectionId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/module.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | enum SectionId { [INFO] [stdout] | ^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 166 | find_section_by_id(sections, id).ok_or(MalformedBytecodeError::MissingSection(id)) [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytecode` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let bytecode = Bytecode::new(bin); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytecode` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let bytecode = Bytecode::new(bin); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-runtime-rust` (bin "wasm-runtime-rust" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm-runtime-rust` (bin "wasm-runtime-rust") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28d82fe24c42a89a88a97e742d627ba42c1b556274a538990c705cacc753609d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d82fe24c42a89a88a97e742d627ba42c1b556274a538990c705cacc753609d", kill_on_drop: false }` [INFO] [stdout] 28d82fe24c42a89a88a97e742d627ba42c1b556274a538990c705cacc753609d