[INFO] cloning repository https://github.com/jamesmunns/deser_n [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamesmunns/deser_n" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesmunns%2Fdeser_n", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesmunns%2Fdeser_n'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a79f2b4a0c6a26dd44a802f2c5f69b78dc04c62 [INFO] checking jamesmunns/deser_n against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesmunns%2Fdeser_n" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamesmunns/deser_n on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamesmunns/deser_n [INFO] finished tweaking git repo https://github.com/jamesmunns/deser_n [INFO] tweaked toml for git repo https://github.com/jamesmunns/deser_n written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jamesmunns/deser_n already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c95c51ef8a90323a99cbab0fad7a520d0846e76fd685be0281c8f6240a6c5d5 [INFO] running `Command { std: "docker" "start" "-a" "5c95c51ef8a90323a99cbab0fad7a520d0846e76fd685be0281c8f6240a6c5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c95c51ef8a90323a99cbab0fad7a520d0846e76fd685be0281c8f6240a6c5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c95c51ef8a90323a99cbab0fad7a520d0846e76fd685be0281c8f6240a6c5d5", kill_on_drop: false }` [INFO] [stdout] 5c95c51ef8a90323a99cbab0fad7a520d0846e76fd685be0281c8f6240a6c5d5 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944b0735c4ad8ac782c3deadf23d912a20cbe02042c46d91aa0bc94a47ed3b29 [INFO] running `Command { std: "docker" "start" "-a" "944b0735c4ad8ac782c3deadf23d912a20cbe02042c46d91aa0bc94a47ed3b29", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking deser_n v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `len` found for type parameter `T` in the current scope [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 57 | impl Field { [INFO] [stdout] | - method `len` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 62 | if b as usize <= self.rawdata.len() { [INFO] [stdout] | ^^^ method not found in `T` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `len`, perhaps you need to restrict type parameter `T` with it: [INFO] [stdout] | [INFO] [stdout] 57 | impl Field { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `T` [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | self.rawdata[self.cursize as usize] = b; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deser_n` (bin "deser_n") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `len` found for type parameter `T` in the current scope [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 57 | impl Field { [INFO] [stdout] | - method `len` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 62 | if b as usize <= self.rawdata.len() { [INFO] [stdout] | ^^^ method not found in `T` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `len`, perhaps you need to restrict type parameter `T` with it: [INFO] [stdout] | [INFO] [stdout] 57 | impl Field { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `T` [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | self.rawdata[self.cursize as usize] = b; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deser_n` (bin "deser_n" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "944b0735c4ad8ac782c3deadf23d912a20cbe02042c46d91aa0bc94a47ed3b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944b0735c4ad8ac782c3deadf23d912a20cbe02042c46d91aa0bc94a47ed3b29", kill_on_drop: false }` [INFO] [stdout] 944b0735c4ad8ac782c3deadf23d912a20cbe02042c46d91aa0bc94a47ed3b29