[INFO] cloning repository https://github.com/nilsso/acm-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilsso/acm-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsso%2Facm-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsso%2Facm-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02a9ac0fa67f69a30fefdef401da299ea5961001 [INFO] testing nilsso/acm-wasm against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsso%2Facm-wasm" "/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/nilsso/acm-wasm on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilsso/acm-wasm [INFO] removed path dependency acm from git repo https://github.com/nilsso/acm-wasm [INFO] finished tweaking git repo https://github.com/nilsso/acm-wasm [INFO] tweaked toml for git repo https://github.com/nilsso/acm-wasm written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nilsso/acm-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (acm) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (acm) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7218953bbc676e656f1fc01f72f7a3930756b7a78ca772384f0157aa75088a2f [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" "7218953bbc676e656f1fc01f72f7a3930756b7a78ca772384f0157aa75088a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7218953bbc676e656f1fc01f72f7a3930756b7a78ca772384f0157aa75088a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7218953bbc676e656f1fc01f72f7a3930756b7a78ca772384f0157aa75088a2f", kill_on_drop: false }` [INFO] [stdout] 7218953bbc676e656f1fc01f72f7a3930756b7a78ca772384f0157aa75088a2f [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0159bb3278c3d4bd44934485e21c8b1f0529f80fc7275f1a73c7bf3509b94437 [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" "0159bb3278c3d4bd44934485e21c8b1f0529f80fc7275f1a73c7bf3509b94437", kill_on_drop: false }` [INFO] [stderr] warning: dependency (acm) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling primal-estimate v0.3.1 [INFO] [stderr] Compiling common_macros v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling primal-bit v0.3.0 [INFO] [stderr] Compiling primal-sieve v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling acm v0.1.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling js-sys v0.3.46 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.46 [INFO] [stderr] Compiling acm-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let mut acm = ACM::new(a, b).unwrap(); [INFO] [stdout] | ^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 68 | let mut acm = ACM::new(a.try_into().unwrap(), b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let mut acm = ACM::new(a, b).unwrap(); [INFO] [stdout] | ^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 68 | let mut acm = ACM::new(a, b.try_into().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `n_elements` found for struct `ArithmeticCongruenceMonoid` in the current scope [INFO] [stdout] --> src/lib.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | .n_elements(l, a) [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `elements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:77:63 [INFO] [stdout] | [INFO] [stdout] 77 | let classification = if !atomic { clasify_n(a, b, e) } else { None }; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `e.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let acm = ACM::new(a, b).unwrap(); [INFO] [stdout] | ^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 106 | let acm = ACM::new(a.try_into().unwrap(), b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let acm = ACM::new(a, b).unwrap(); [INFO] [stdout] | ^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 106 | let acm = ACM::new(a, b.try_into().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `n_elements` found for struct `ArithmeticCongruenceMonoid` in the current scope [INFO] [stdout] --> src/lib.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | let elements: Vec = acm.n_elements(L, a); [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `elements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `acm-wasm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0159bb3278c3d4bd44934485e21c8b1f0529f80fc7275f1a73c7bf3509b94437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0159bb3278c3d4bd44934485e21c8b1f0529f80fc7275f1a73c7bf3509b94437", kill_on_drop: false }` [INFO] [stdout] 0159bb3278c3d4bd44934485e21c8b1f0529f80fc7275f1a73c7bf3509b94437