[INFO] updating cached repository https://github.com/NilsHochschwender/elek_wider [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94c23ac9385b52bca94169795f12daf4a38bb0fd [INFO] testing NilsHochschwender/elek_wider against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsHochschwender%2Felek_wider" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NilsHochschwender/elek_wider on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NilsHochschwender/elek_wider [INFO] finished tweaking git repo https://github.com/NilsHochschwender/elek_wider [INFO] tweaked toml for git repo https://github.com/NilsHochschwender/elek_wider written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/NilsHochschwender/elek_wider already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de9b0c315aec9a42d06ff8b13fd1fa3377fa0706ee11f8186505b46ea3a2ea22 [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" "de9b0c315aec9a42d06ff8b13fd1fa3377fa0706ee11f8186505b46ea3a2ea22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de9b0c315aec9a42d06ff8b13fd1fa3377fa0706ee11f8186505b46ea3a2ea22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9b0c315aec9a42d06ff8b13fd1fa3377fa0706ee11f8186505b46ea3a2ea22", kill_on_drop: false }` [INFO] [stdout] de9b0c315aec9a42d06ff8b13fd1fa3377fa0706ee11f8186505b46ea3a2ea22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd4c7869109b00c5f38bff6d34a7e3b19391bf6952d69ddea7b5d89282c4693f [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" "cd4c7869109b00c5f38bff6d34a7e3b19391bf6952d69ddea7b5d89282c4693f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling elek_wider v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `goal_pre_units` in this scope [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pow = pow - goal_pre_units.return_pow(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `goal_pre_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: language items are subject to change [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[lang = "char"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `k` should have an upper camel case name [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | k, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `K` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | d, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `z` should have an upper camel case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | z, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m` should have an upper camel case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | m, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `my` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | my, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `My` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | n, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `char` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / impl char{ [INFO] [stdout] 12 | | fn is_ascii_float(&self) -> bool { [INFO] [stdout] 13 | | let possible_chars: Vec = vec!['0','1','2','3','4','5','6','7','8','9','e','-','.']; [INFO] [stdout] 14 | | possible_chars.contains(&self) [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | / lazy_static! { [INFO] [stdout] 209 | | static ref RENUM: Regex = Regex::new(r"([0-9\.]+)(ohmxmm2/m|ohm|mm2|mm|m)").unwrap(); [INFO] [stdout] 210 | | static ref REMAT: Regex = Regex::new(r"([[:alpha:]]+)").unwrap(); [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | / lazy_static! { [INFO] [stdout] 209 | | static ref RENUM: Regex = Regex::new(r"([0-9\.]+)(ohmxmm2/m|ohm|mm2|mm|m)").unwrap(); [INFO] [stdout] 210 | | static ref REMAT: Regex = Regex::new(r"([[:alpha:]]+)").unwrap(); [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/main.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | / lazy_static! { [INFO] [stdout] 590 | | static ref RE: Regex = Regex::new(r"([0-9\.]+)(ohm|[Aa]|[Vv])").unwrap(); [INFO] [stdout] 591 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] 58 | "P" => PreUnits::P, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] 58 | "P" => PreUnits::P, [INFO] [stdout] 59 | "T" => PreUnits::T, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 60 | "G" => PreUnits::G, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 61 | "M" => PreUnits::M, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 62 | "k" => PreUnits::k, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 63 | "" => PreUnits::No, [INFO] [stdout] | ^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 64 | "d" => PreUnits::d, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 65 | "z" => PreUnits::z, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 66 | "m" => PreUnits::m, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 67 | "µ" | "my" => PreUnits::my, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 67 | "µ" | "my" => PreUnits::my, [INFO] [stdout] | ^^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 57 | match pre_unit { [INFO] [stdout] | -------- this expression has type `std::string::String` [INFO] [stdout] ... [INFO] [stdout] 68 | "n" => PreUnits::n, [INFO] [stdout] | ^^^ expected struct `std::string::String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PreUnits: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `PreUnits` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::clone::Clone::clone` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PreUnits` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `PreUnits` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `PreUnits` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&PreUnits` [INFO] [stdout] = note: required for the cast to the object type `dyn std::fmt::Debug` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PreUnits: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `PreUnits` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::clone::Clone::clone` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PreUnits` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pre_unit: PreUnits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `PreUnits` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `PreUnits` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&PreUnits` [INFO] [stdout] = note: required for the cast to the object type `dyn std::fmt::Debug` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0277, E0308, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elek_wider`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cd4c7869109b00c5f38bff6d34a7e3b19391bf6952d69ddea7b5d89282c4693f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd4c7869109b00c5f38bff6d34a7e3b19391bf6952d69ddea7b5d89282c4693f", kill_on_drop: false }` [INFO] [stdout] cd4c7869109b00c5f38bff6d34a7e3b19391bf6952d69ddea7b5d89282c4693f