[INFO] fetching crate harvey-holt 0.1.0... [INFO] testing harvey-holt-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate harvey-holt 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate harvey-holt 0.1.0 [INFO] finished tweaking crates.io crate harvey-holt 0.1.0 [INFO] tweaked toml for crates.io crate harvey-holt 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate harvey-holt 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding csv v0.15.0 (available: v1.4.0) [INFO] [stderr] Adding itertools v0.6.5 (available: v0.14.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba6a9b2c0affbea1f873a90835984962990e63055960a62e4da56c739ed248ac [INFO] running `Command { std: "docker" "start" "-a" "ba6a9b2c0affbea1f873a90835984962990e63055960a62e4da56c739ed248ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba6a9b2c0affbea1f873a90835984962990e63055960a62e4da56c739ed248ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6a9b2c0affbea1f873a90835984962990e63055960a62e4da56c739ed248ac", kill_on_drop: false }` [INFO] [stdout] ba6a9b2c0affbea1f873a90835984962990e63055960a62e4da56c739ed248ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c2b8eb1ab43715f16b8c817a3cd89e1eea05c5f8c0de41c351f10fb7c21a4b7 [INFO] running `Command { std: "docker" "start" "-a" "4c2b8eb1ab43715f16b8c817a3cd89e1eea05c5f8c0de41c351f10fb7c21a4b7", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling harvey-holt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::{thread_rng, sample}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref DATA: Vec = csv::Reader::from_file("./simplemaps-worldcities-basic.csv") [INFO] [stdout] 62 | | .unwrap() [INFO] [stdout] 63 | | .decode::() [INFO] [stdout] ... | [INFO] [stdout] 84 | | }; [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref DATA: Vec = csv::Reader::from_file("./simplemaps-worldcities-basic.csv") [INFO] [stdout] 62 | | .unwrap() [INFO] [stdout] 63 | | .decode::() [INFO] [stdout] ... | [INFO] [stdout] 84 | | }; [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref DATA: Vec = csv::Reader::from_file("./simplemaps-worldcities-basic.csv") [INFO] [stdout] 62 | | .unwrap() [INFO] [stdout] 63 | | .decode::() [INFO] [stdout] ... | [INFO] [stdout] 84 | | }; [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/lib.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let sample = sample(&mut rng, DATA.iter(), 1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Record: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | .decode::() [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Record` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Record { [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 `Reader::::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/csv-0.15.0/src/reader.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn decode<'a, D: Decodable>(&'a mut self) -> DecodedRecords<'a, R, D> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Reader::::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `DecodedRecords<'_, File, Record>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 19 | struct Record { [INFO] [stdout] | ------------- doesn't satisfy `Record: Decodable` [INFO] [stdout] ... [INFO] [stdout] 61 | static ref DATA: Vec = csv::Reader::from_file("./simplemaps-worldcities-basic.csv") [INFO] [stdout] | __________________________________- [INFO] [stdout] 62 | | .unwrap() [INFO] [stdout] 63 | | .decode::() [INFO] [stdout] 64 | | .map(Result::unwrap) [INFO] [stdout] | | -^^^ method cannot be called on `DecodedRecords<'_, File, Record>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/csv-0.15.0/src/reader.rs:908:1 [INFO] [stdout] | [INFO] [stdout] 908 | pub struct DecodedRecords<'a, R: 'a, D> { [INFO] [stdout] | --------------------------------------- doesn't satisfy `DecodedRecords<'_, File, Record>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Record: Decodable` [INFO] [stdout] which is required by `DecodedRecords<'_, File, Record>: Iterator` [INFO] [stdout] `DecodedRecords<'_, File, Record>: Iterator` [INFO] [stdout] which is required by `&mut DecodedRecords<'_, File, Record>: Iterator` [INFO] [stdout] note: the trait `Decodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:902:1 [INFO] [stdout] | [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `harvey-holt` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4c2b8eb1ab43715f16b8c817a3cd89e1eea05c5f8c0de41c351f10fb7c21a4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2b8eb1ab43715f16b8c817a3cd89e1eea05c5f8c0de41c351f10fb7c21a4b7", kill_on_drop: false }` [INFO] [stdout] 4c2b8eb1ab43715f16b8c817a3cd89e1eea05c5f8c0de41c351f10fb7c21a4b7