[INFO] fetching crate net_ensembles 0.4.0... [INFO] testing net_ensembles-0.4.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate net_ensembles 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate net_ensembles 0.4.0 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 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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] e8f000ce05da56b51c2cf686ca37ddf6f63734579393dd2d849e451eda86ed72 [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" "e8f000ce05da56b51c2cf686ca37ddf6f63734579393dd2d849e451eda86ed72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8f000ce05da56b51c2cf686ca37ddf6f63734579393dd2d849e451eda86ed72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f000ce05da56b51c2cf686ca37ddf6f63734579393dd2d849e451eda86ed72", kill_on_drop: false }` [INFO] [stdout] e8f000ce05da56b51c2cf686ca37ddf6f63734579393dd2d849e451eda86ed72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 32296a5950c3358f8a4d3afe66a0f9182ffe2f9722aa16a7115eedd50dd24b42 [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" "32296a5950c3358f8a4d3afe66a0f9182ffe2f9722aa16a7115eedd50dd24b42", 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 panic!() 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!("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 panic!() 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 3.08s [INFO] running `Command { std: "docker" "inspect" "32296a5950c3358f8a4d3afe66a0f9182ffe2f9722aa16a7115eedd50dd24b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32296a5950c3358f8a4d3afe66a0f9182ffe2f9722aa16a7115eedd50dd24b42", kill_on_drop: false }` [INFO] [stdout] 32296a5950c3358f8a4d3afe66a0f9182ffe2f9722aa16a7115eedd50dd24b42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 774480250afc4d81d71f8047474ba46acfa1f6f8c82684ae1deb692e40451d1a [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" "774480250afc4d81d71f8047474ba46acfa1f6f8c82684ae1deb692e40451d1a", 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 panic!() 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!("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 panic!() 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 panic!() 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!("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!("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 panic!() 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 14.43s [INFO] running `Command { std: "docker" "inspect" "774480250afc4d81d71f8047474ba46acfa1f6f8c82684ae1deb692e40451d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774480250afc4d81d71f8047474ba46acfa1f6f8c82684ae1deb692e40451d1a", kill_on_drop: false }` [INFO] [stdout] 774480250afc4d81d71f8047474ba46acfa1f6f8c82684ae1deb692e40451d1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 893fa630affdc60416105ac29ac6e0b59ce16925c87e907c12b6262eb5b719a1 [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" "893fa630affdc60416105ac29ac6e0b59ce16925c87e907c12b6262eb5b719a1", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: attribute should be applied to a function [INFO] [stdout] running 7 tests [INFO] [stderr] --> src/sampling/traits.rs:188:17 [INFO] [stdout] test sw::tests::sw_make_connected ... ignored [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 panic!() 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!("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 panic!() 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!("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.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/net_ensembles-5025f236d46785c3) [INFO] [stdout] test sw_graph::tests::sw_container_test ... ok [INFO] [stdout] test er_c::testing::test_edge_count ... 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::draw_2 ... ok [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.03s [INFO] [stdout] [INFO] [stderr] Doc-tests net_ensembles [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-b50db2ce09d79bbb.rlib --extern net_ensembles=/opt/rustwide/target/debug/deps/libnet_ensembles-e77b769bdc1dfa23.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-c3ad7b3394e57de5.rlib --extern rand_pcg=/opt/rustwide/target/debug/deps/librand_pcg-90f943f888f9aefa.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-1fd97383a9a4d8c3.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-6365c7faffae4aea.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" "893fa630affdc60416105ac29ac6e0b59ce16925c87e907c12b6262eb5b719a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893fa630affdc60416105ac29ac6e0b59ce16925c87e907c12b6262eb5b719a1", kill_on_drop: false }` [INFO] [stdout] 893fa630affdc60416105ac29ac6e0b59ce16925c87e907c12b6262eb5b719a1