[INFO] cloning repository https://github.com/AlecDivito/wrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlecDivito/wrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecDivito%2Fwrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecDivito%2Fwrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e22000b0068fc0cd3dbebf8232a3599ab6fbeea6 [INFO] testing AlecDivito/wrt against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecDivito%2Fwrt" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlecDivito/wrt on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlecDivito/wrt [INFO] finished tweaking git repo https://github.com/AlecDivito/wrt [INFO] tweaked toml for git repo https://github.com/AlecDivito/wrt written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/AlecDivito/wrt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d393f49290fe0223ddad88c67c2c207d671f3df937856b0659c55bc9f4438d2a [INFO] running `Command { std: "docker" "start" "-a" "d393f49290fe0223ddad88c67c2c207d671f3df937856b0659c55bc9f4438d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d393f49290fe0223ddad88c67c2c207d671f3df937856b0659c55bc9f4438d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d393f49290fe0223ddad88c67c2c207d671f3df937856b0659c55bc9f4438d2a", kill_on_drop: false }` [INFO] [stdout] d393f49290fe0223ddad88c67c2c207d671f3df937856b0659c55bc9f4438d2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c56efaa4ff964a3a69f6a647c2b94479d7f678618a4374724a12d031ccd9722 [INFO] running `Command { std: "docker" "start" "-a" "5c56efaa4ff964a3a69f6a647c2b94479d7f678618a4374724a12d031ccd9722", kill_on_drop: false }` [INFO] [stderr] Compiling wrt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `module::function`, `module::instruction` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use module::{function::Frame, instruction::Instruction, module::Module}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ could not find `instruction` in `module` [INFO] [stdout] | | [INFO] [stdout] | could not find `function` in `module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::module::export`, `crate::module::import`, `crate::module::instruction` [INFO] [stdout] --> src/block.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | module::{export::Export, import::Import, instruction::Instruction}, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ could not find `instruction` in `module` [INFO] [stdout] | | | [INFO] [stdout] | | could not find `import` in `module` [INFO] [stdout] | could not find `export` in `module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::export`, `super::function`, `super::global`, `super::import` [INFO] [stdout] --> src/module/module.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{export::Export, function::Function, global::Global, import::Import}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ could not find `import` in `super` [INFO] [stdout] | | | | [INFO] [stdout] | | | could not find `global` in `super` [INFO] [stdout] | | could not find `function` in `super` [INFO] [stdout] | could not find `export` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identifier` [INFO] [stdout] --> src/lib.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | .function(&Identifier::String(id.to_owned())) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportDefinition` [INFO] [stdout] --> src/module/module.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | ImportDefinition::Function(f) => module.functions.push(f), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ImportDefinition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identifier` [INFO] [stdout] --> src/module/module.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | self.exports.get(&Identifier::String(name.into())) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/module/module.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn function(&self, id: &Identifier) -> Option<&Function> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Module` has no field named `globals` [INFO] [stdout] --> src/module/module.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | globals: Vec::new(), [INFO] [stdout] | ^^^^^^^ `Module` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Module` has no field named `functions` [INFO] [stdout] --> src/module/module.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | functions: Vec::new(), [INFO] [stdout] | ^^^^^^^^^ `Module` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Module` has no field named `exports` [INFO] [stdout] --> src/module/module.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | exports: Vec::new(), [INFO] [stdout] | ^^^^^^^ `Module` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `exports` on type `Module` [INFO] [stdout] --> src/module/module.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | ... module.exports.insert(export.id(), export); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `functions` on type `Module` [INFO] [stdout] --> src/module/module.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | module.functions.push(func); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `exports` on type `Module` [INFO] [stdout] --> src/module/module.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | module.exports.insert(export.id(), export); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `functions` on type `Module` [INFO] [stdout] --> src/module/module.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | ImportDefinition::Function(f) => module.functions.push(f), [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `WasmError` in the current scope [INFO] [stdout] --> src/module/module.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(WasmError::new( [INFO] [stdout] | ^^^ function or associated item not found in `WasmError` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WasmError { [INFO] [stdout] | -------------------- function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `WasmError` in the current scope [INFO] [stdout] --> src/module/module.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | Err(WasmError::new( [INFO] [stdout] | ^^^ function or associated item not found in `WasmError` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WasmError { [INFO] [stdout] | -------------------- function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `functions` on type `&Module` [INFO] [stdout] --> src/module/module.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | for func in &self.functions { [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `exports` on type `&Module` [INFO] [stdout] --> src/module/module.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | self.exports.get(&Identifier::String(name.into())) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wrt` due to 19 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5c56efaa4ff964a3a69f6a647c2b94479d7f678618a4374724a12d031ccd9722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c56efaa4ff964a3a69f6a647c2b94479d7f678618a4374724a12d031ccd9722", kill_on_drop: false }` [INFO] [stdout] 5c56efaa4ff964a3a69f6a647c2b94479d7f678618a4374724a12d031ccd9722