[INFO] cloning repository https://github.com/Defman/code-judge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Defman/code-judge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefman%2Fcode-judge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefman%2Fcode-judge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c0b9528de30591442b06522a7b6347f2ddc74e0c
[INFO] building Defman/code-judge against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefman%2Fcode-judge" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Defman/code-judge on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Defman/code-judge
[INFO] finished tweaking git repo https://github.com/Defman/code-judge
[INFO] tweaked toml for git repo https://github.com/Defman/code-judge written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Defman/code-judge 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasmer-wasi v2.0.0
[INFO] [stderr]   Downloaded rkyv v0.6.7
[INFO] [stderr]   Downloaded thiserror v1.0.28
[INFO] [stderr]   Downloaded loupe v0.1.3
[INFO] [stderr]   Downloaded wasmer-wasi-types v2.0.0
[INFO] [stderr]   Downloaded rkyv_derive v0.6.7
[INFO] [stderr]   Downloaded thiserror-impl v1.0.28
[INFO] [stderr]   Downloaded wasmer-types v2.0.0
[INFO] [stderr]   Downloaded serde_with_macros v1.4.2
[INFO] [stderr]   Downloaded hyperlocal v0.8.0
[INFO] [stderr]   Downloaded wasmparser v0.78.2
[INFO] [stderr]   Downloaded serde_with v1.9.4
[INFO] [stderr]   Downloaded wasmer-compiler v2.0.0
[INFO] [stderr]   Downloaded wast v38.0.0
[INFO] [stderr]   Downloaded tokio-util v0.6.7
[INFO] [stderr]   Downloaded typetag-impl v0.1.7
[INFO] [stderr]   Downloaded cranelift-entity v0.74.0
[INFO] [stderr]   Downloaded enumset_derive v0.5.5
[INFO] [stderr]   Downloaded bollard v0.11.0
[INFO] [stderr]   Downloaded regalloc v0.0.31
[INFO] [stderr]   Downloaded wasmer-compiler-cranelift v2.0.0
[INFO] [stderr]   Downloaded typetag v0.1.7
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.74.0
[INFO] [stderr]   Downloaded wasmer-object v2.0.0
[INFO] [stderr]   Downloaded which v4.2.2
[INFO] [stderr]   Downloaded wasmer-engine-dylib v2.0.0
[INFO] [stderr]   Downloaded enumset v1.0.7
[INFO] [stderr]   Downloaded object v0.25.3
[INFO] [stderr]   Downloaded target-lexicon v0.12.2
[INFO] [stderr]   Downloaded wasmer-engine v2.0.0
[INFO] [stderr]   Downloaded loupe-derive v0.1.3
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.74.0
[INFO] [stderr]   Downloaded tokio v1.10.1
[INFO] [stderr]   Downloaded wasmer-derive v2.0.0
[INFO] [stderr]   Downloaded wasmer-engine-universal v2.0.0
[INFO] [stderr]   Downloaded wat v1.0.40
[INFO] [stderr]   Downloaded wasmer v2.0.0
[INFO] [stderr]   Downloaded cranelift-bforest v0.74.0
[INFO] [stderr]   Downloaded cranelift-frontend v0.74.0
[INFO] [stderr]   Downloaded wasmer-vm v2.0.0
[INFO] [stderr]   Downloaded leb128 v0.2.4
[INFO] [stderr]   Downloaded bollard-stubs v1.41.0
[INFO] [stderr]   Downloaded more-asserts v0.2.1
[INFO] [stderr]   Downloaded cranelift-codegen v0.74.0
[INFO] [stderr]   Downloaded gimli v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b16931229511d08770f274cd6e85dbde36060b9b28cc8f94825a152ec94f69c5
[INFO] running `Command { std: "docker" "start" "-a" "b16931229511d08770f274cd6e85dbde36060b9b28cc8f94825a152ec94f69c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b16931229511d08770f274cd6e85dbde36060b9b28cc8f94825a152ec94f69c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b16931229511d08770f274cd6e85dbde36060b9b28cc8f94825a152ec94f69c5", kill_on_drop: false }`
[INFO] [stdout] b16931229511d08770f274cd6e85dbde36060b9b28cc8f94825a152ec94f69c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] afde7231575e7c276e66df06b151daecd4cd6554641a985689997fff9f7f9281
[INFO] running `Command { std: "docker" "start" "-a" "afde7231575e7c276e66df06b151daecd4cd6554641a985689997fff9f7f9281", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling rkyv v0.6.7
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling target-lexicon v0.12.2
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling gimli v0.25.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling object v0.26.2
[INFO] [stderr]    Compiling tracing-core v0.1.19
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling backtrace v0.3.61
[INFO] [stderr]    Compiling wasmer-vm v2.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling more-asserts v0.2.1
[INFO] [stderr]    Compiling cranelift-entity v0.74.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling wasmparser v0.78.2
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.74.0
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.74.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling addr2line v0.16.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling tokio v1.10.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling leb128 v0.2.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling regalloc v0.0.31
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling cranelift-bforest v0.74.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling darling_core v0.13.0
[INFO] [stderr]    Compiling memmap2 v0.2.3
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling thiserror-impl v1.0.28
[INFO] [stderr]    Compiling ptr_meta_derive v0.1.4
[INFO] [stderr]    Compiling ptr_meta v0.1.4
[INFO] [stderr]    Compiling darling_macro v0.13.0
[INFO] [stderr]    Compiling loupe-derive v0.1.3
[INFO] [stderr]    Compiling darling v0.13.0
[INFO] [stderr]    Compiling rkyv_derive v0.6.7
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling thiserror v1.0.28
[INFO] [stderr]    Compiling enumset_derive v0.5.5
[INFO] [stderr]    Compiling enumset v1.0.7
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling erased-serde v0.3.16
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling wasmer-compiler-cranelift v2.0.0
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling inventory v0.1.10
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling slab v0.4.4
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.6.7
[INFO] [stderr]    Compiling tinyvec v1.3.1
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling ctor v0.1.20
[INFO] [stderr]    Compiling inventory-impl v0.1.10
[INFO] [stderr]    Compiling ghost v0.1.2
[INFO] [stderr]    Compiling which v4.2.2
[INFO] [stderr]    Compiling wast v38.0.0
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling cranelift-codegen v0.74.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling wasmer-derive v2.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling http-body v0.4.3
[INFO] [stderr]    Compiling serde_with_macros v1.4.2
[INFO] [stderr]    Compiling typetag-impl v0.1.7
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling socket2 v0.4.1
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.6
[INFO] [stderr]    Compiling serde_json v1.0.67
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling test v0.1.0 (/opt/rustwide/workdir/test)
[INFO] [stderr]    Compiling runner v0.1.0 (/opt/rustwide/workdir/runner)
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling cli v0.1.0 (/opt/rustwide/workdir/cli)
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling pin-project v1.0.8
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling wat v1.0.40
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_with v1.9.4
[INFO] [stderr]    Compiling generational-arena v0.2.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling loupe v0.1.3
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling object v0.25.3
[INFO] [stderr]    Compiling wasmer-types v2.0.0
[INFO] [stderr]    Compiling h2 v0.3.4
[INFO] [stderr]    Compiling typetag v0.1.7
[INFO] [stderr]    Compiling bollard-stubs v1.41.0
[INFO] [stderr]    Compiling wasmer-wasi-types v2.0.0
[INFO] [stderr]    Compiling wasmer-compiler v2.0.0
[INFO] [stderr]    Compiling wasmer-engine v2.0.0
[INFO] [stderr]    Compiling wasmer-object v2.0.0
[INFO] [stderr]    Compiling wasmer-engine-universal v2.0.0
[INFO] [stderr]    Compiling wasmer-engine-dylib v2.0.0
[INFO] [stderr]    Compiling hyper v0.14.12
[INFO] [stderr]    Compiling hyperlocal v0.8.0
[INFO] [stderr]    Compiling bollard v0.11.0
[INFO] [stderr]    Compiling cranelift-frontend v0.74.0
[INFO] [stderr]    Compiling runner-java v0.1.0 (/opt/rustwide/workdir/runner/java)
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> runner/java/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> runner/java/src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let path = artifact.download()?;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> runner/java/src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn run(&self, artifact: &runner::Artifact, input: &str) -> runner::Result<String> {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `java`
[INFO] [stdout]   --> runner/java/src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let java = Java {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_java`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `docker` is never read
[INFO] [stdout]  --> runner/java/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Java {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 7 |     docker: Docker,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wasmer v2.0.0
[INFO] [stderr]    Compiling wasmer-wasi v2.0.0
[INFO] [stderr]    Compiling test-wasm v0.1.0 (/opt/rustwide/workdir/test/wasm)
[INFO] [stdout] error[E0425]: cannot find value `size` in this scope
[INFO] [stdout]   --> test/wasm/src/lib.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let ptr = self.allocate(size, allign);
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `allign` in this scope
[INFO] [stdout]   --> test/wasm/src/lib.rs:60:39
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let ptr = self.allocate(size, allign);
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `size` in this scope
[INFO] [stdout]   --> test/wasm/src/lib.rs:64:30
[INFO] [stdout]    |
[INFO] [stdout] 64 |         self.deallocate(ptr, size, allign);
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `allign` in this scope
[INFO] [stdout]   --> test/wasm/src/lib.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 |         self.deallocate(ptr, size, allign);
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> test/wasm/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Memory`
[INFO] [stdout]  --> test/wasm/src/lib.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmer::{Array, Instance, Memory, Module, NativeFunc, Store, WasmPtr};
[INFO] [stdout]   |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> test/wasm/src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> test/wasm/src/lib.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self.check();
[INFO] [stdout]    |              ^^^^^-- argument #1 of type `&str` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> test/wasm/src/lib.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn check(&self, output: &str) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^        ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self.check(/* &str */);
[INFO] [stdout]    |                   ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate` found for reference `&Judge` in the current scope
[INFO] [stdout]   --> test/wasm/src/lib.rs:60:24
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let ptr = self.allocate(size, allign);
[INFO] [stdout]    |                        ^^^^^^^^-------------- help: remove the arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        field, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `allocate`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `hashbrown::raw::inner::alloc::inner::Allocator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> test/wasm/src/lib.rs:62:20
[INFO] [stdout]     |
[INFO] [stdout] 62  |         self.check.call(output.len(), ptr);
[INFO] [stdout]     |                    ^^^^               --- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: expected `WasmPtr<u8, Array>`, found `usize`
[INFO] [stdout]    --> test/wasm/src/lib.rs:62:25
[INFO] [stdout]     |
[INFO] [stdout] 62  |         self.check.call(output.len(), ptr);
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `WasmPtr<u8, Array>`
[INFO] [stdout]                  found type `usize`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmer-2.0.0/src/native.rs:244:1
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl_native_traits!(A1);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `impl_native_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 62  -         self.check.call(output.len(), ptr);
[INFO] [stdout] 62  +         self.check.call(/* WasmPtr<u8, Array> */);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deallocate` found for reference `&Judge` in the current scope
[INFO] [stdout]   --> test/wasm/src/lib.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         self.deallocate(ptr, size, allign);
[INFO] [stdout]    |              ^^^^^^^^^^------------------- help: remove the arguments
[INFO] [stdout]    |              |
[INFO] [stdout]    |              field, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `deallocate`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `hashbrown::raw::inner::alloc::inner::Allocator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test-wasm` (lib) due to 8 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "afde7231575e7c276e66df06b151daecd4cd6554641a985689997fff9f7f9281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afde7231575e7c276e66df06b151daecd4cd6554641a985689997fff9f7f9281", kill_on_drop: false }`
[INFO] [stdout] afde7231575e7c276e66df06b151daecd4cd6554641a985689997fff9f7f9281
