[INFO] fetching crate drug 0.0.2... [INFO] testing drug-0.0.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate drug 0.0.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate drug 0.0.2 [INFO] finished tweaking crates.io crate drug 0.0.2 [INFO] tweaked toml for crates.io crate drug 0.0.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate drug 0.0.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.6) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding ndarray v0.11.2 (available: v0.16.1) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding ron v0.4.2 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27033cbae70b086090e36d520d0f0e3952fe4d479c531016aa1b40fdb4626b2f [INFO] running `Command { std: "docker" "start" "-a" "27033cbae70b086090e36d520d0f0e3952fe4d479c531016aa1b40fdb4626b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27033cbae70b086090e36d520d0f0e3952fe4d479c531016aa1b40fdb4626b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27033cbae70b086090e36d520d0f0e3952fe4d479c531016aa1b40fdb4626b2f", kill_on_drop: false }` [INFO] [stdout] 27033cbae70b086090e36d520d0f0e3952fe4d479c531016aa1b40fdb4626b2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 47df771b68de9d9ce0814f22291a56f5f923ca4fa12631e5a9475c8f9a523526 [INFO] running `Command { std: "docker" "start" "-a" "47df771b68de9d9ce0814f22291a56f5f923ca4fa12631e5a9475c8f9a523526", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling debug_stub_derive v0.3.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling drug v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/graph.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | struct Initializer(Box<(Fn(&[usize]) -> ArrayD)>); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - struct Initializer(Box<(Fn(&[usize]) -> ArrayD)>); [INFO] [stdout] 36 + struct Initializer(Box ArrayD>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/graph.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(initializer: Box<(Fn(&[usize]) -> ArrayD)>, optimizer: Optimizer) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - pub fn new(initializer: Box<(Fn(&[usize]) -> ArrayD)>, optimizer: Optimizer) -> Self { [INFO] [stdout] 73 + pub fn new(initializer: Box ArrayD>, optimizer: Optimizer) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/nodes/embedding.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let x = code[(b)] as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - let x = code[(b)] as usize; [INFO] [stdout] 19 + let x = code[b] as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/nodes/embedding.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let code = code[(b)] as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - let code = code[(b)] as usize; [INFO] [stdout] 36 + let code = code[b] as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | struct Initializer(Box<(Fn(&[usize]) -> ArrayD)>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | struct Initializer(Box<(dyn Fn(&[usize]) -> ArrayD)>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nodes/mod.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | it: Option>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | it: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nodes/mod.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | operation: Box, [INFO] [stdout] | ^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | operation: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nodes/mod.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | impl Default for Box { [INFO] [stdout] | ^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | impl Default for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(initializer: Box<(Fn(&[usize]) -> ArrayD)>, optimizer: Optimizer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(initializer: Box<(dyn Fn(&[usize]) -> ArrayD)>, optimizer: Optimizer) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn input(&mut self, it: Option>>>) -> Idx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn input(&mut self, it: Option>>>) -> Idx { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | new: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | new: Box>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__T: erased_serde::Serialize` is not satisfied [INFO] [stdout] --> src/nodes/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | serialize_trait_object!(Operation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `__T` [INFO] [stdout] | [INFO] [stdout] = note: required for `__T` to implement `erased_serde::Serialize` [INFO] [stdout] note: required by a bound in `require_erased_serialize_impl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/erased-serde-0.3.31/src/private.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn require_erased_serialize_impl() [INFO] [stdout] | ----------------------------- required by a bound in this function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: ?Sized + crate::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `require_erased_serialize_impl` [INFO] [stdout] = note: this error originates in the macro `$crate::__internal_serialize_trait_object` which comes from the expansion of the macro `serialize_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `__T` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 41 | serialize_trait_object!(Operation + serde::Serialize); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drug` (lib) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "47df771b68de9d9ce0814f22291a56f5f923ca4fa12631e5a9475c8f9a523526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47df771b68de9d9ce0814f22291a56f5f923ca4fa12631e5a9475c8f9a523526", kill_on_drop: false }` [INFO] [stdout] 47df771b68de9d9ce0814f22291a56f5f923ca4fa12631e5a9475c8f9a523526