[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefman%2Fcode-judge" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Defman/code-judge on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0048cb619226a1526892715cb64664b9097be290e695725e7060627d8bf8c81d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0048cb619226a1526892715cb64664b9097be290e695725e7060627d8bf8c81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0048cb619226a1526892715cb64664b9097be290e695725e7060627d8bf8c81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0048cb619226a1526892715cb64664b9097be290e695725e7060627d8bf8c81d", kill_on_drop: false }` [INFO] [stdout] 0048cb619226a1526892715cb64664b9097be290e695725e7060627d8bf8c81d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ca855fa2d034269b11fc8ddfc38fc626ca999cb0a9ea55273732d0bdde0ed6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a5ca855fa2d034269b11fc8ddfc38fc626ca999cb0a9ea55273732d0bdde0ed6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stderr] Compiling test v0.1.0 (/opt/rustwide/workdir/test) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling wast v38.0.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [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 ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [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 ptr_meta v0.1.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling enumset v1.0.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.9.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling wat v1.0.40 [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 typetag v0.1.7 [INFO] [stderr] Compiling bollard-stubs v1.41.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling wasmer-wasi-types v2.0.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling cranelift-codegen v0.74.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] [stderr] Compiling wasmer v2.0.0 [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] [stderr] Compiling wasmer-wasi v2.0.0 [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] running `Command { std: "docker" "inspect" "a5ca855fa2d034269b11fc8ddfc38fc626ca999cb0a9ea55273732d0bdde0ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ca855fa2d034269b11fc8ddfc38fc626ca999cb0a9ea55273732d0bdde0ed6", kill_on_drop: false }` [INFO] [stdout] a5ca855fa2d034269b11fc8ddfc38fc626ca999cb0a9ea55273732d0bdde0ed6