[INFO] fetching crate roller 0.1.0... [INFO] checking roller-0.1.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate roller 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate roller 0.1.0 [INFO] finished tweaking crates.io crate roller 0.1.0 [INFO] tweaked toml for crates.io crate roller 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate roller 0.1.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding regex v0.1.80 (available: v1.12.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57bb43e27ab46c648d8c05b3b4e1b589945908addd4d0cb97e0830069848144f [INFO] running `Command { std: "docker" "start" "-a" "57bb43e27ab46c648d8c05b3b4e1b589945908addd4d0cb97e0830069848144f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57bb43e27ab46c648d8c05b3b4e1b589945908addd4d0cb97e0830069848144f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bb43e27ab46c648d8c05b3b4e1b589945908addd4d0cb97e0830069848144f", kill_on_drop: false }` [INFO] [stdout] 57bb43e27ab46c648d8c05b3b4e1b589945908addd4d0cb97e0830069848144f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4b58f266e350f5f8aabbd11aa93295ad94fc1c1b5d59ec8df32008f82a92b01 [INFO] running `Command { std: "docker" "start" "-a" "e4b58f266e350f5f8aabbd11aa93295ad94fc1c1b5d59ec8df32008f82a92b01", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking roller v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RustcDecodable, RustcEncodable, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RustcDecodable, RustcEncodable, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LintConfig: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let lint_config: LintConfig = load(CONFIG_PATH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `LintConfig` [INFO] [stdout] --> src/main.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct LintConfig { [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 `load` [INFO] [stdout] --> src/main.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | fn load, T: Decodable + Default>(path: P) -> T { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Index: Encodable` is not satisfied [INFO] [stdout] --> src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | save(INDEX_PATH, &new_index); [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 `Index` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Index { [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 `save` [INFO] [stdout] --> src/main.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | fn save, T: Encodable>(path: P, t: &T) { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Index: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let old_index: Index = load(INDEX_PATH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Index` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Index { [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 `load` [INFO] [stdout] --> src/main.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | fn load, T: Decodable + Default>(path: P) -> T { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RustcDecodable, RustcEncodable, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RustcDecodable, RustcEncodable, Default)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LintConfig: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let lint_config: LintConfig = load(CONFIG_PATH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `LintConfig` [INFO] [stdout] --> src/main.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct LintConfig { [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 `load` [INFO] [stdout] --> src/main.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | fn load, T: Decodable + Default>(path: P) -> T { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roller` (bin "roller" test) due to 7 previous errors [INFO] [stdout] error[E0277]: the trait bound `Index: Encodable` is not satisfied [INFO] [stdout] --> src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | save(INDEX_PATH, &new_index); [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 `Index` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Index { [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 `save` [INFO] [stdout] --> src/main.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | fn save, T: Encodable>(path: P, t: &T) { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Index: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let old_index: Index = load(INDEX_PATH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Index` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Index { [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 `load` [INFO] [stdout] --> src/main.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | fn load, T: Decodable + Default>(path: P) -> T { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roller` (bin "roller") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e4b58f266e350f5f8aabbd11aa93295ad94fc1c1b5d59ec8df32008f82a92b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b58f266e350f5f8aabbd11aa93295ad94fc1c1b5d59ec8df32008f82a92b01", kill_on_drop: false }` [INFO] [stdout] e4b58f266e350f5f8aabbd11aa93295ad94fc1c1b5d59ec8df32008f82a92b01