[INFO] fetching crate symagen 0.4.0... [INFO] testing symagen-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate symagen 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate symagen 0.4.0 [INFO] finished tweaking crates.io crate symagen 0.4.0 [INFO] tweaked toml for crates.io crate symagen 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate symagen 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded distances v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 771539a98987c8428eb487d26987f28634e4449d5a0f26425647c4d652ce0eb8 [INFO] running `Command { std: "docker" "start" "-a" "771539a98987c8428eb487d26987f28634e4449d5a0f26425647c4d652ce0eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "771539a98987c8428eb487d26987f28634e4449d5a0f26425647c4d652ce0eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771539a98987c8428eb487d26987f28634e4449d5a0f26425647c4d652ce0eb8", kill_on_drop: false }` [INFO] [stdout] 771539a98987c8428eb487d26987f28634e4449d5a0f26425647c4d652ce0eb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbd8367afb26109b9d4d5ebcd5406f4f82986d28243fceb1711deb83d7306f29 [INFO] running `Command { std: "docker" "start" "-a" "fbd8367afb26109b9d4d5ebcd5406f4f82986d28243fceb1711deb83d7306f29", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling distances v1.8.0 [INFO] [stderr] Compiling symagen v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `distances::Number::zero`: Use `Number::ZERO` instead [INFO] [stdout] --> src/random_edits.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | let mut distance = U::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/random_edits.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let d = UInt::as_u64(min_distance) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 128 | let d = ::as_u64(min_distance) [INFO] [stdout] | ++++ + [INFO] [stdout] help: you may have misspelled this associated item, causing `UInt` to be interpreted as a type rather than a trait [INFO] [stdout] | [INFO] [stdout] 128 - let d = UInt::as_u64(min_distance) [INFO] [stdout] 128 + let d = UInt::as_i64(min_distance) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/random_edits.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 129 | + rand::random::() % UInt::as_u64(max_distance - min_distance + U::one()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 129 | + rand::random::() % ::as_u64(max_distance - min_distance + U::one()); [INFO] [stdout] | ++++ + [INFO] [stdout] help: you may have misspelled this associated item, causing `UInt` to be interpreted as a type rather than a trait [INFO] [stdout] | [INFO] [stdout] 129 - + rand::random::() % UInt::as_u64(max_distance - min_distance + U::one()); [INFO] [stdout] 129 + + rand::random::() % UInt::as_i64(max_distance - min_distance + U::one()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `distances::Number::one`: Use `Number::ONE` instead [INFO] [stdout] --> src/random_edits.rs:129:89 [INFO] [stdout] | [INFO] [stdout] 129 | + rand::random::() % UInt::as_u64(max_distance - min_distance + U::one()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/random_edits.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn create_batch( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 129 | + rand::random::() % UInt::as_u64(max_distance - min_distance + U::one()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `U`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `U` [INFO] [stdout] found type `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `distances::Number::one`: Use `Number::ONE` instead [INFO] [stdout] --> src/random_edits.rs:174:46 [INFO] [stdout] | [INFO] [stdout] 174 | create_batch(seed, penalties, U::one(), clump_radius, alphabet, clump_size) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `symagen` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fbd8367afb26109b9d4d5ebcd5406f4f82986d28243fceb1711deb83d7306f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd8367afb26109b9d4d5ebcd5406f4f82986d28243fceb1711deb83d7306f29", kill_on_drop: false }` [INFO] [stdout] fbd8367afb26109b9d4d5ebcd5406f4f82986d28243fceb1711deb83d7306f29