[INFO] cloning repository https://github.com/0x009922/parity-scale-trivial-num-casts-issue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x009922/parity-scale-trivial-num-casts-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x009922%2Fparity-scale-trivial-num-casts-issue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x009922%2Fparity-scale-trivial-num-casts-issue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65ba1aa766ae2c4382bb3c8ad6affa4de81b56f7
[INFO] testing 0x009922/parity-scale-trivial-num-casts-issue against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x009922%2Fparity-scale-trivial-num-casts-issue" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue
[INFO] finished tweaking git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue
[INFO] tweaked toml for git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae9909085fe2bcfa316ba4d08fbd1c5f763ea374375f44dad6520fa1f66bb49f
[INFO] running `Command { std: "docker" "start" "-a" "ae9909085fe2bcfa316ba4d08fbd1c5f763ea374375f44dad6520fa1f66bb49f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae9909085fe2bcfa316ba4d08fbd1c5f763ea374375f44dad6520fa1f66bb49f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae9909085fe2bcfa316ba4d08fbd1c5f763ea374375f44dad6520fa1f66bb49f", kill_on_drop: false }`
[INFO] [stdout] ae9909085fe2bcfa316ba4d08fbd1c5f763ea374375f44dad6520fa1f66bb49f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24d60b73b9b92ca1ecc04ce5dc8153e8d74949b3ee9869e4c18378f741588598
[INFO] running `Command { std: "docker" "start" "-a" "24d60b73b9b92ca1ecc04ce5dc8153e8d74949b3ee9869e4c18378f741588598", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling winnow v0.7.10
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-trivial-num-casts-issue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: trivial numeric cast: `usize` as `usize`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     One,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: cast can be replaced by coercion; this might require a temporary variable
[INFO] [stdout]   = note: requested on the command line with `-D trivial-numeric-casts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trivial numeric cast: `usize` as `usize`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Two
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: cast can be replaced by coercion; this might require a temporary variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-trivial-num-casts-issue` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "24d60b73b9b92ca1ecc04ce5dc8153e8d74949b3ee9869e4c18378f741588598", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24d60b73b9b92ca1ecc04ce5dc8153e8d74949b3ee9869e4c18378f741588598", kill_on_drop: false }`
[INFO] [stdout] 24d60b73b9b92ca1ecc04ce5dc8153e8d74949b3ee9869e4c18378f741588598
