[INFO] cloning repository https://github.com/yankeeinlondon/ctx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yankeeinlondon/ctx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyankeeinlondon%2Fctx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyankeeinlondon%2Fctx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0eed652d09cb5e6b39487f96004a80d0ab425e81 [INFO] testing yankeeinlondon/ctx against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyankeeinlondon%2Fctx" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yankeeinlondon/ctx [INFO] finished tweaking git repo https://github.com/yankeeinlondon/ctx [INFO] tweaked toml for git repo https://github.com/yankeeinlondon/ctx written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yankeeinlondon/ctx on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yankeeinlondon/ctx 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1578c60ac39a2c4f050deff01ad314f80c9cdef1e0983dc216d2e5b16ef3efc [INFO] running `Command { std: "docker" "start" "-a" "d1578c60ac39a2c4f050deff01ad314f80c9cdef1e0983dc216d2e5b16ef3efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1578c60ac39a2c4f050deff01ad314f80c9cdef1e0983dc216d2e5b16ef3efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1578c60ac39a2c4f050deff01ad314f80c9cdef1e0983dc216d2e5b16ef3efc", kill_on_drop: false }` [INFO] [stdout] d1578c60ac39a2c4f050deff01ad314f80c9cdef1e0983dc216d2e5b16ef3efc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46cf045c3d795a6803ebb60b13cc4d2a0e603948a06c2a79610381531fe7bd80 [INFO] running `Command { std: "docker" "start" "-a" "46cf045c3d795a6803ebb60b13cc4d2a0e603948a06c2a79610381531fe7bd80", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling eyre v0.6.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling xxhash-rust v0.8.7 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling gray_matter v0.2.6 [INFO] [stderr] Compiling ctx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MIN_SECRET_LEN` is never used [INFO] [stdout] --> src/hasher.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MIN_SECRET_LEN: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "46cf045c3d795a6803ebb60b13cc4d2a0e603948a06c2a79610381531fe7bd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46cf045c3d795a6803ebb60b13cc4d2a0e603948a06c2a79610381531fe7bd80", kill_on_drop: false }` [INFO] [stdout] 46cf045c3d795a6803ebb60b13cc4d2a0e603948a06c2a79610381531fe7bd80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee31108f8404759e9a1b9df3de41b31116638e32546f2d41e53b1d5755de45b6 [INFO] running `Command { std: "docker" "start" "-a" "ee31108f8404759e9a1b9df3de41b31116638e32546f2d41e53b1d5755de45b6", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling ctx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/hasher.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use rand::distributions::{Alphanumeric, DistString}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/hasher.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let h = hash(&content, None); [INFO] [stdout] | ^^^^ ---- unexpected argument #2 of type `std::option::Option<_>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/hasher.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn hash(content: &str) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 29 - let h = hash(&content, None); [INFO] [stdout] 29 + let h = hash(&content); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/hasher.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let r = hash(&content, None); [INFO] [stdout] | ^^^^ ---- unexpected argument #2 of type `std::option::Option<_>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/hasher.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn hash(content: &str) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 32 - let r = hash(&content, None); [INFO] [stdout] 32 + let r = hash(&content); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/hasher.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | let secret = Alphanumeric.sample_string(&mut rand::thread_rng(), MIN_SECRET_LEN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/hasher.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let h = hash(&content, Some(&secret)); [INFO] [stdout] | ^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/hasher.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn hash(content: &str) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 42 - let h = hash(&content, Some(&secret)); [INFO] [stdout] 42 + let h = hash(&content); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/hasher.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let r = hash(&content, Some(&secret)); [INFO] [stdout] | ^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/hasher.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn hash(content: &str) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 44 - let r = hash(&content, Some(&secret)); [INFO] [stdout] 44 + let r = hash(&content); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prose` [INFO] [stdout] --> src/md/markdown.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | let (prose, fm) = split_fm_from_prose( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_prose` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ctx` (bin "ctx" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ee31108f8404759e9a1b9df3de41b31116638e32546f2d41e53b1d5755de45b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee31108f8404759e9a1b9df3de41b31116638e32546f2d41e53b1d5755de45b6", kill_on_drop: false }` [INFO] [stdout] ee31108f8404759e9a1b9df3de41b31116638e32546f2d41e53b1d5755de45b6