[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 master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FItsaMeTuni%2Fwasm-runtime-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ItsaMeTuni/wasm-runtime-rust on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "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-1-tc1/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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e4e005d3f9689878d173b95868ff9b94ff79c267dedb166242ebb73ef4e5674
[INFO] running `Command { std: "docker" "start" "-a" "9e4e005d3f9689878d173b95868ff9b94ff79c267dedb166242ebb73ef4e5674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e4e005d3f9689878d173b95868ff9b94ff79c267dedb166242ebb73ef4e5674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e4e005d3f9689878d173b95868ff9b94ff79c267dedb166242ebb73ef4e5674", kill_on_drop: false }`
[INFO] [stdout] 9e4e005d3f9689878d173b95868ff9b94ff79c267dedb166242ebb73ef4e5674
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d87598717af4691e18a6577da73e617d6189d4a33574c12d0d3359a3acc3b4c7
[INFO] running `Command { std: "docker" "start" "-a" "d87598717af4691e18a6577da73e617d6189d4a33574c12d0d3359a3acc3b4c7", 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<Section>, 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<Section>, 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] 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<Section>, 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<Section>, 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] 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" "d87598717af4691e18a6577da73e617d6189d4a33574c12d0d3359a3acc3b4c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d87598717af4691e18a6577da73e617d6189d4a33574c12d0d3359a3acc3b4c7", kill_on_drop: false }`
[INFO] [stdout] d87598717af4691e18a6577da73e617d6189d4a33574c12d0d3359a3acc3b4c7
