[INFO] cloning repository https://github.com/duvholt/rust-metaheuristic-framework [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duvholt/rust-metaheuristic-framework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduvholt%2Frust-metaheuristic-framework", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduvholt%2Frust-metaheuristic-framework'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11c125e2a2840aed9b61b2f40b7bc406ec9970f2 [INFO] testing duvholt/rust-metaheuristic-framework against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduvholt%2Frust-metaheuristic-framework" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 66% (170/257) Updating files: 67% (173/257) Updating files: 68% (175/257) Updating files: 69% (178/257) Updating files: 69% (179/257) Updating files: 70% (180/257) Updating files: 71% (183/257) Updating files: 72% (186/257) Updating files: 73% (188/257) Updating files: 74% (191/257) Updating files: 75% (193/257) Updating files: 76% (196/257) Updating files: 77% (198/257) Updating files: 77% (200/257) Updating files: 78% (201/257) Updating files: 79% (204/257) Updating files: 80% (206/257) Updating files: 81% (209/257) Updating files: 82% (211/257) Updating files: 83% (214/257) Updating files: 84% (216/257) Updating files: 85% (219/257) Updating files: 86% (222/257) Updating files: 87% (224/257) Updating files: 88% (227/257) Updating files: 89% (229/257) Updating files: 90% (232/257) Updating files: 91% (234/257) Updating files: 92% (237/257) Updating files: 93% (240/257) Updating files: 94% (242/257) Updating files: 95% (245/257) Updating files: 96% (247/257) Updating files: 97% (250/257) Updating files: 98% (252/257) Updating files: 99% (255/257) Updating files: 100% (257/257) Updating files: 100% (257/257), done. [INFO] validating manifest of git repo https://github.com/duvholt/rust-metaheuristic-framework 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 git repo https://github.com/duvholt/rust-metaheuristic-framework [INFO] finished tweaking git repo https://github.com/duvholt/rust-metaheuristic-framework [INFO] tweaked toml for git repo https://github.com/duvholt/rust-metaheuristic-framework written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate git repo https://github.com/duvholt/rust-metaheuristic-framework already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.0.0 [INFO] [stderr] Downloaded serde_json v1.0.14 [INFO] [stderr] Downloaded serde_derive v1.0.38 [INFO] [stderr] Downloaded statistical v0.1.1 [INFO] [stderr] Downloaded serde v1.0.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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] f7ccea806a03ddc6da42cea24d1fd5de49002a70c3f618002bdef5b84737e763 [INFO] running `Command { std: "docker" "start" "-a" "f7ccea806a03ddc6da42cea24d1fd5de49002a70c3f618002bdef5b84737e763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7ccea806a03ddc6da42cea24d1fd5de49002a70c3f618002bdef5b84737e763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ccea806a03ddc6da42cea24d1fd5de49002a70c3f618002bdef5b84737e763", kill_on_drop: false }` [INFO] [stdout] f7ccea806a03ddc6da42cea24d1fd5de49002a70c3f618002bdef5b84737e763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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] 015adb427fe2cb4be1c73f2ef8c36cc9b3c43bf18f5305a4377f36b8c400d4c6 [INFO] running `Command { std: "docker" "start" "-a" "015adb427fe2cb4be1c73f2ef8c36cc9b3c43bf18f5305a4377f36b8c400d4c6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling serde v1.0.38 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling assert_approx_eq v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.14 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling num-bigint v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling statistical v0.1.1 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.38 [INFO] [stderr] Compiling rustoa v0.0.1 (/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(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/distribution.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | (u / v.abs().powf(1.0 / beta)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitness_evaluation.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub type SingleTestFunction = Fn(&Vec) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec) -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitness_evaluation.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub type MultiTestFunction = Fn(&Vec) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec) -> Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitness_evaluation.rs:79:88 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read_shifted(&mut self, number: usize, dimensions: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitness_evaluation.rs:93:87 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_rotate(&mut self, number: usize, dimensions: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/multiobjective/rank.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | dominates: HashSet<(usize)>, [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_single(solution: &Solution) -> SolutionJSON { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Solution` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_multi(solution: &Solution>) -> SolutionJSON { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Solution>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustoa` due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "015adb427fe2cb4be1c73f2ef8c36cc9b3c43bf18f5305a4377f36b8c400d4c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015adb427fe2cb4be1c73f2ef8c36cc9b3c43bf18f5305a4377f36b8c400d4c6", kill_on_drop: false }` [INFO] [stdout] 015adb427fe2cb4be1c73f2ef8c36cc9b3c43bf18f5305a4377f36b8c400d4c6