[INFO] fetching crate net_ensembles 0.4.0... [INFO] testing net_ensembles-0.4.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate net_ensembles 0.4.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate net_ensembles 0.4.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate net_ensembles 0.4.0 [INFO] finished tweaking crates.io crate net_ensembles 0.4.0 [INFO] tweaked toml for crates.io crate net_ensembles 0.4.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3a03d648698a0df656cc6fa321325f80914c82d1855fe3a2b71828104040586 [INFO] running `Command { std: "docker" "start" "-a" "a3a03d648698a0df656cc6fa321325f80914c82d1855fe3a2b71828104040586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3a03d648698a0df656cc6fa321325f80914c82d1855fe3a2b71828104040586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a03d648698a0df656cc6fa321325f80914c82d1855fe3a2b71828104040586", kill_on_drop: false }` [INFO] [stdout] a3a03d648698a0df656cc6fa321325f80914c82d1855fe3a2b71828104040586 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e931fd59a64e24fdd4c626e8ae237ddaf0eed63eb63326ea2dd73432bc3ba3 [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" "d0e931fd59a64e24fdd4c626e8ae237ddaf0eed63eb63326ea2dd73432bc3ba3", kill_on_drop: false }` [INFO] [stderr] Compiling net_ensembles v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/sampling/traits.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 189 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stdout] | -------------------------------------------------------------------------------- not a function [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/sampling/traits.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 343 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stdout] | -------------------------------------------------------------------------------- not a function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_graph.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / format!("net_ensembles - panic - index out of bounds! \ [INFO] [stdout] 219 | | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stdout] 220 | | error probably results from trying to add or remove edges", [INFO] [stdout] 221 | | self.vertex_count(), [INFO] [stdout] 222 | | index0, [INFO] [stdout] 223 | | index1 [INFO] [stdout] 224 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the debug_assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 218 ~ "net_ensembles - panic - index out of bounds! \ [INFO] [stdout] 219 | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stdout] 220 | error probably results from trying to add or remove edges", [INFO] [stdout] 221 | self.vertex_count(), [INFO] [stdout] 222 | index0, [INFO] [stdout] 223 | index1 [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sw.rs:538:60 [INFO] [stdout] | [INFO] [stdout] 538 | SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 538 - SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stdout] 538 + SwChangeState::GError(error) => panic!("undo_step - GError {} - corrupt step?", error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/er_m.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | / format!( [INFO] [stdout] 242 | | "A complete graph with {} vertices has {} edges. \ [INFO] [stdout] 243 | | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stdout] 244 | | n, [INFO] [stdout] ... | [INFO] [stdout] 247 | | std::any::type_name::(), [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 241 ~ [INFO] [stdout] 242 | "A complete graph with {} vertices has {} edges. \ [INFO] [stdout] 243 | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stdout] 244 | n, [INFO] [stdout] 245 | p_edges, [INFO] [stdout] 246 | m, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "d0e931fd59a64e24fdd4c626e8ae237ddaf0eed63eb63326ea2dd73432bc3ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e931fd59a64e24fdd4c626e8ae237ddaf0eed63eb63326ea2dd73432bc3ba3", kill_on_drop: false }` [INFO] [stdout] d0e931fd59a64e24fdd4c626e8ae237ddaf0eed63eb63326ea2dd73432bc3ba3 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8519ecb6119a00cdd217e979e187dc188c7c6b6f8d2385f3921916be9903a07d [INFO] running `Command { std: "docker" "start" "-a" "8519ecb6119a00cdd217e979e187dc188c7c6b6f8d2385f3921916be9903a07d", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/sampling/traits.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 189 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stdout] | -------------------------------------------------------------------------------- not a function [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/sampling/traits.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 343 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stdout] | -------------------------------------------------------------------------------- not a function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_graph.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / format!("net_ensembles - panic - index out of bounds! \ [INFO] [stdout] 219 | | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stdout] 220 | | error probably results from trying to add or remove edges", [INFO] [stdout] 221 | | self.vertex_count(), [INFO] [stdout] 222 | | index0, [INFO] [stdout] 223 | | index1 [INFO] [stdout] 224 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the debug_assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 218 ~ "net_ensembles - panic - index out of bounds! \ [INFO] [stdout] 219 | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stdout] 220 | error probably results from trying to add or remove edges", [INFO] [stdout] 221 | self.vertex_count(), [INFO] [stdout] 222 | index0, [INFO] [stdout] 223 | index1 [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sw.rs:538:60 [INFO] [stdout] | [INFO] [stdout] 538 | SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 538 - SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stdout] 538 + SwChangeState::GError(error) => panic!("undo_step - GError {} - corrupt step?", error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/er_m.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | / format!( [INFO] [stdout] 242 | | "A complete graph with {} vertices has {} edges. \ [INFO] [stdout] 243 | | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stdout] 244 | | n, [INFO] [stdout] ... | [INFO] [stdout] 247 | | std::any::type_name::(), [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 241 ~ [INFO] [stdout] 242 | "A complete graph with {} vertices has {} edges. \ [INFO] [stdout] 243 | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stdout] 244 | n, [INFO] [stdout] 245 | p_edges, [INFO] [stdout] 246 | m, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling net_ensembles v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/sampling/traits.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 189 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stdout] | -------------------------------------------------------------------------------- not a function [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function [INFO] [stdout] --> src/sampling/traits.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 343 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stdout] | -------------------------------------------------------------------------------- not a function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_graph.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / format!("net_ensembles - panic - index out of bounds! \ [INFO] [stdout] 219 | | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stdout] 220 | | error probably results from trying to add or remove edges", [INFO] [stdout] 221 | | self.vertex_count(), [INFO] [stdout] 222 | | index0, [INFO] [stdout] 223 | | index1 [INFO] [stdout] 224 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the debug_assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 218 ~ "net_ensembles - panic - index out of bounds! \ [INFO] [stdout] 219 | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stdout] 220 | error probably results from trying to add or remove edges", [INFO] [stdout] 221 | self.vertex_count(), [INFO] [stdout] 222 | index0, [INFO] [stdout] 223 | index1 [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graph.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | panic!(format!("error: {}", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 293 - panic!(format!("error: {}", e)); [INFO] [stdout] 293 + panic!("error: {}", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sw.rs:538:60 [INFO] [stdout] | [INFO] [stdout] 538 | SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 538 - SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stdout] 538 + SwChangeState::GError(error) => panic!("undo_step - GError {} - corrupt step?", error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/er_m.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | / format!( [INFO] [stdout] 242 | | "A complete graph with {} vertices has {} edges. \ [INFO] [stdout] 243 | | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stdout] 244 | | n, [INFO] [stdout] ... | [INFO] [stdout] 247 | | std::any::type_name::(), [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 241 ~ [INFO] [stdout] 242 | "A complete graph with {} vertices has {} edges. \ [INFO] [stdout] 243 | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stdout] 244 | n, [INFO] [stdout] 245 | p_edges, [INFO] [stdout] 246 | m, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.66s [INFO] running `Command { std: "docker" "inspect" "8519ecb6119a00cdd217e979e187dc188c7c6b6f8d2385f3921916be9903a07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8519ecb6119a00cdd217e979e187dc188c7c6b6f8d2385f3921916be9903a07d", kill_on_drop: false }` [INFO] [stdout] 8519ecb6119a00cdd217e979e187dc188c7c6b6f8d2385f3921916be9903a07d [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 570af71f8229d3ed49c1aa373514631da0ad83f59626f792b632b48a9fb343c4 [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" "570af71f8229d3ed49c1aa373514631da0ad83f59626f792b632b48a9fb343c4", kill_on_drop: false }` [INFO] [stderr] warning: attribute should be applied to a function [INFO] [stderr] --> src/sampling/traits.rs:188:17 [INFO] [stderr] | [INFO] [stderr] 188 | #[cold] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 189 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stderr] | -------------------------------------------------------------------------------- not a function [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:277:23 [INFO] [stderr] | [INFO] [stderr] 277 | #![deny(missing_docs, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_attributes)]` implied by `#[warn(warnings)]` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a function [INFO] [stderr] --> src/sampling/traits.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | #[cold] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 343 | return MetropolisState::new(stepsize, steps, m_beta, rng, current_energy, i + 1); [INFO] [stderr] | -------------------------------------------------------------------------------- not a function [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/generic_graph.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | / format!("net_ensembles - panic - index out of bounds! \ [INFO] [stderr] 219 | | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stderr] 220 | | error probably results from trying to add or remove edges", [INFO] [stderr] 221 | | self.vertex_count(), [INFO] [stderr] 222 | | index0, [INFO] [stderr] 223 | | index1 [INFO] [stderr] 224 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:277:23 [INFO] [stderr] | [INFO] [stderr] 277 | #![deny(missing_docs, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the debug_assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 218 ~ "net_ensembles - panic - index out of bounds! \ [INFO] [stderr] 219 | vertex_count: {}, index_0: {}, index1: {} - \ [INFO] [stderr] 220 | error probably results from trying to add or remove edges", [INFO] [stderr] 221 | self.vertex_count(), [INFO] [stderr] 222 | index0, [INFO] [stderr] 223 | index1 [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sw.rs:538:60 [INFO] [stderr] | [INFO] [stderr] 538 | SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 538 - SwChangeState::GError(error) => panic!(format!("undo_step - GError {} - corrupt step?", error)) [INFO] [stderr] 538 + SwChangeState::GError(error) => panic!("undo_step - GError {} - corrupt step?", error) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/er_m.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | / format!( [INFO] [stderr] 242 | | "A complete graph with {} vertices has {} edges. \ [INFO] [stderr] 243 | | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stderr] 244 | | n, [INFO] [stderr] ... | [INFO] [stderr] 247 | | std::any::type_name::(), [INFO] [stderr] 248 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 241 ~ [INFO] [stderr] 242 | "A complete graph with {} vertices has {} edges. \ [INFO] [stderr] 243 | You requested {} edges, i.e., to many. Panic at function `new` of struct {}", [INFO] [stderr] 244 | n, [INFO] [stderr] 245 | p_edges, [INFO] [stderr] 246 | m, [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: `net_ensembles` (lib) generated 5 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/graph.rs:293:20 [INFO] [stderr] | [INFO] [stderr] 293 | panic!(format!("error: {}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 293 - panic!(format!("error: {}", e)); [INFO] [stderr] 293 + panic!("error: {}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `net_ensembles` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/net_ensembles-2b67766e9cf7e4fe) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test sw::tests::sw_make_connected ... ignored [INFO] [stdout] test er_c::testing::draw_2 ... ok [INFO] [stdout] test sw_graph::tests::sw_container_test ... ok [INFO] [stdout] test sw_graph::tests::sw_ring_2 ... ok [INFO] [stdout] test graph::tests::test_graph_container_push ... ok [INFO] [stdout] test er_c::testing::test_edge_count ... ok [INFO] [stderr] Doc-tests net_ensembles [INFO] [stdout] test sw_graph::tests::sw_edge_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name net_ensembles --test /opt/rustwide/workdir/src/lib.rs -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-73394fb7e89f41fe.rlib --extern net_ensembles=/opt/rustwide/target/debug/deps/libnet_ensembles-76af9a4aa90835f0.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-18c5ba4d7738542c.rlib --extern rand_pcg=/opt/rustwide/target/debug/deps/librand_pcg-f5895c49c4d1b9c3.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-e08f3fe4360f09bf.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-ccca7748b2e9e072.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="serde_support"' --error-format human` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "570af71f8229d3ed49c1aa373514631da0ad83f59626f792b632b48a9fb343c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570af71f8229d3ed49c1aa373514631da0ad83f59626f792b632b48a9fb343c4", kill_on_drop: false }` [INFO] [stdout] 570af71f8229d3ed49c1aa373514631da0ad83f59626f792b632b48a9fb343c4