[INFO] cloning repository https://github.com/jjjike2021/exercises-to-learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jjjike2021/exercises-to-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjjike2021%2Fexercises-to-learn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjjike2021%2Fexercises-to-learn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec1a66409e4a4fa08c1635d09a2dfb2d3df348f5 [INFO] testing jjjike2021/exercises-to-learn-rust against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjjike2021%2Fexercises-to-learn-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jjjike2021/exercises-to-learn-rust [INFO] finished tweaking git repo https://github.com/jjjike2021/exercises-to-learn-rust [INFO] tweaked toml for git repo https://github.com/jjjike2021/exercises-to-learn-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jjjike2021/exercises-to-learn-rust on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jjjike2021/exercises-to-learn-rust 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e6a474cbcd9894a408396d5bcbda0c0e45e8a924eb2e27ffc766c7a51b26b6b [INFO] running `Command { std: "docker" "start" "-a" "8e6a474cbcd9894a408396d5bcbda0c0e45e8a924eb2e27ffc766c7a51b26b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e6a474cbcd9894a408396d5bcbda0c0e45e8a924eb2e27ffc766c7a51b26b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6a474cbcd9894a408396d5bcbda0c0e45e8a924eb2e27ffc766c7a51b26b6b", kill_on_drop: false }` [INFO] [stdout] 8e6a474cbcd9894a408396d5bcbda0c0e45e8a924eb2e27ffc766c7a51b26b6b [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c11ba2b1f54746fb46656acf24277325b8c2b28be46ce99379cc530e4d768b0 [INFO] running `Command { std: "docker" "start" "-a" "4c11ba2b1f54746fb46656acf24277325b8c2b28be46ce99379cc530e4d768b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling pulldown-cmark-escape v0.10.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling setters v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/07_setters) [INFO] [stderr] Compiling scoped_threads v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/04_scoped_threads) [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling resizing v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/03_resizing) [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> exercises/07_threads/04_scoped_threads/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sum(v: Vec) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling from v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/09_from) [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling str_slice v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/06_str_slice) [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/01_syntax) [INFO] [stderr] Compiling intro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/00_intro) [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stdout] error[E0277]: the trait bound `WrappingU32: From<{integer}>` is not satisfied [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | let wrapping: WrappingU32 = 42.into(); [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `WrappingU32` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WrappingU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | let wrapping = WrappingU32::from(42); [INFO] [stdout] | ----------------- ^^ expected `WrappingU32`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] help: try wrapping the expression in `WrappingU32` [INFO] [stdout] | [INFO] [stdout] 9 | let wrapping = WrappingU32::from(WrappingU32 { value: 42 }); [INFO] [stdout] | ++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `from` (lib) due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> exercises/01_intro/01_syntax/src/lib.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn compute(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/04_traits/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c11ba2b1f54746fb46656acf24277325b8c2b28be46ce99379cc530e4d768b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c11ba2b1f54746fb46656acf24277325b8c2b28be46ce99379cc530e4d768b0", kill_on_drop: false }` [INFO] [stdout] 4c11ba2b1f54746fb46656acf24277325b8c2b28be46ce99379cc530e4d768b0