[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] testing Defman/code-judge against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefman%2Fcode-judge" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Defman/code-judge on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-5/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: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e5dc011e65053d3c8a64b2e0a4aabe964b8150ff6d17b402e6d6d44287237a6 [INFO] running `Command { std: "docker" "start" "-a" "1e5dc011e65053d3c8a64b2e0a4aabe964b8150ff6d17b402e6d6d44287237a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5dc011e65053d3c8a64b2e0a4aabe964b8150ff6d17b402e6d6d44287237a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5dc011e65053d3c8a64b2e0a4aabe964b8150ff6d17b402e6d6d44287237a6", kill_on_drop: false }` [INFO] [stdout] 1e5dc011e65053d3c8a64b2e0a4aabe964b8150ff6d17b402e6d6d44287237a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 368e6d9b4b8f48060f4e1cdd514ce894894f037013b62918b9dd172574731bb3 [INFO] running `Command { std: "docker" "start" "-a" "368e6d9b4b8f48060f4e1cdd514ce894894f037013b62918b9dd172574731bb3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [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 rustversion v1.0.5 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [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 cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling wast v38.0.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling wat v1.0.40 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling cranelift-codegen v0.74.0 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Compiling enumset v1.0.7 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.9.4 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [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 h2 v0.3.4 [INFO] [stderr] Compiling typetag v0.1.7 [INFO] [stderr] Compiling wasmer-types v2.0.0 [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 hyper v0.14.12 [INFO] [stderr] Compiling wasmer-engine v2.0.0 [INFO] [stderr] Compiling wasmer-object v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [INFO] [stderr] Compiling wasmer-engine-universal v2.0.0 [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 wasmer v2.0.0 [INFO] [stderr] Compiling wasmer-wasi v2.0.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: `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] = note: `#[warn(unused_variables)]` 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] [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 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `docker` [INFO] [stdout] --> runner/java/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | docker: Docker, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 function 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] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> test/wasm/src/lib.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn check(&self, output: &str) -> Result> { [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 function 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] | ^^^^ ------------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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] error: aborting due to 8 previous errors; 3 warnings emitted [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` due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "368e6d9b4b8f48060f4e1cdd514ce894894f037013b62918b9dd172574731bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368e6d9b4b8f48060f4e1cdd514ce894894f037013b62918b9dd172574731bb3", kill_on_drop: false }` [INFO] [stdout] 368e6d9b4b8f48060f4e1cdd514ce894894f037013b62918b9dd172574731bb3