[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] checking 0x009922/parity-scale-trivial-num-casts-issue against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1
[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-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue on toolchain 863511eff87e66198b396935f3b5c8a543022f53
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3290d6f686839e8c5ce9c59ddbc090a78edece5717af06f7240ab34607ba8fd3
[INFO] running `Command { std: "docker" "start" "-a" "3290d6f686839e8c5ce9c59ddbc090a78edece5717af06f7240ab34607ba8fd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3290d6f686839e8c5ce9c59ddbc090a78edece5717af06f7240ab34607ba8fd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3290d6f686839e8c5ce9c59ddbc090a78edece5717af06f7240ab34607ba8fd3", kill_on_drop: false }`
[INFO] [stdout] 3290d6f686839e8c5ce9c59ddbc090a78edece5717af06f7240ab34607ba8fd3
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4805627fe1b6c64b3f74dd7f7a7d1afe30bdb5210937b3ebb2af3e36c1d7d075
[INFO] running `Command { std: "docker" "start" "-a" "4805627fe1b6c64b3f74dd7f7a7d1afe30bdb5210937b3ebb2af3e36c1d7d075", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling winnow v0.7.10
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking 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 parity-scale-codec v3.7.5
[INFO] [stderr]     Checking const_format v0.2.34
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]     Checking 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] [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 test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `parity-scale-trivial-num-casts-issue` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "4805627fe1b6c64b3f74dd7f7a7d1afe30bdb5210937b3ebb2af3e36c1d7d075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4805627fe1b6c64b3f74dd7f7a7d1afe30bdb5210937b3ebb2af3e36c1d7d075", kill_on_drop: false }`
[INFO] [stdout] 4805627fe1b6c64b3f74dd7f7a7d1afe30bdb5210937b3ebb2af3e36c1d7d075
