[INFO] fetching crate classifier 0.0.3...
[INFO] testing classifier-0.0.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate classifier 0.0.3 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate classifier 0.0.3
[INFO] finished tweaking crates.io crate classifier 0.0.3
[INFO] tweaked toml for crates.io crate classifier 0.0.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate classifier 0.0.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 12 packages to latest compatible versions
[INFO] [stderr]       Adding regex v0.1.80 (available: v1.12.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8644beb4c65bb98d405e32bd0838c5c6cb5cf7c5756da7948a6cbf09104834e1
[INFO] running `Command { std: "docker" "start" "-a" "8644beb4c65bb98d405e32bd0838c5c6cb5cf7c5756da7948a6cbf09104834e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8644beb4c65bb98d405e32bd0838c5c6cb5cf7c5756da7948a6cbf09104834e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8644beb4c65bb98d405e32bd0838c5c6cb5cf7c5756da7948a6cbf09104834e1", kill_on_drop: false }`
[INFO] [stdout] 8644beb4c65bb98d405e32bd0838c5c6cb5cf7c5756da7948a6cbf09104834e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd1f1ddd6191a72a4fb4820bb5a37369ff2ac2227756e5c50bd585c6bd13b61d
[INFO] running `Command { std: "docker" "start" "-a" "cd1f1ddd6191a72a4fb4820bb5a37369ff2ac2227756e5c50bd585c6bd13b61d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling classifier v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]  --> src/naive_bayes.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]  --> src/naive_bayes.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]   --> src/naive_bayes.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]   --> src/naive_bayes.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Classifier: Encodable` is not satisfied
[INFO] [stdout]    --> src/naive_bayes.rs:154:22
[INFO] [stdout]     |
[INFO] [stdout] 154 |         json::encode(self).ok().expect("encoding JSON failed")
[INFO] [stdout]     |         ------------ ^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encodable` is not implemented for `Classifier`
[INFO] [stdout]    --> src/naive_bayes.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub struct Classifier {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encodable`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 75 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub fn encode<T: ::Encodable>(object: &T) -> EncodeResult<string::String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Classifier: Decodable` is not satisfied
[INFO] [stdout]    --> src/naive_bayes.rs:159:38
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let classifier: Classifier = json::decode(encoded).ok().expect("decoding JSON failed");
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Decodable` is not implemented for `Classifier`
[INFO] [stdout]    --> src/naive_bayes.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub struct Classifier {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Decodable`:
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 71 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout] 379 | pub fn decode<T: ::Decodable>(s: &str) -> DecodeResult<T> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/naive_bayes.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut classification = self.classifications.get_mut(label).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `classifier` (lib) due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "cd1f1ddd6191a72a4fb4820bb5a37369ff2ac2227756e5c50bd585c6bd13b61d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd1f1ddd6191a72a4fb4820bb5a37369ff2ac2227756e5c50bd585c6bd13b61d", kill_on_drop: false }`
[INFO] [stdout] cd1f1ddd6191a72a4fb4820bb5a37369ff2ac2227756e5c50bd585c6bd13b61d
