[INFO] cloning repository https://github.com/xfcisco/jeff.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xfcisco/jeff.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfcisco%2Fjeff.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfcisco%2Fjeff.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cb86fb8076f7aac375780ad2e722004ae7f6231 [INFO] testing xfcisco/jeff.rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfcisco%2Fjeff.rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xfcisco/jeff.rs [INFO] finished tweaking git repo https://github.com/xfcisco/jeff.rs [INFO] tweaked toml for git repo https://github.com/xfcisco/jeff.rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xfcisco/jeff.rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xfcisco/jeff.rs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.15 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded tokio v1.5.0 [INFO] [stderr] Downloaded async-tungstenite v0.11.0 [INFO] [stderr] Downloaded async-trait v0.1.49 [INFO] [stderr] Downloaded pin-project v1.0.6 [INFO] [stderr] Downloaded syn v1.0.69 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded serenity v0.10.5 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded hyper v0.14.5 [INFO] [stderr] Downloaded web-sys v0.3.50 [INFO] [stderr] Downloaded tokio-util v0.6.6 [INFO] [stderr] Downloaded h2 v0.3.2 [INFO] [stderr] Downloaded futures-channel v0.3.14 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded futures-util v0.3.14 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded futures-core v0.3.14 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded http-body v0.4.1 [INFO] [stderr] Downloaded httparse v1.3.6 [INFO] [stderr] Downloaded pin-project-internal v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.23 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0daec7f67589c254f08b63cd83ea20af5bf3767795f25775a7fa12ff36abea00 [INFO] running `Command { std: "docker" "start" "-a" "0daec7f67589c254f08b63cd83ea20af5bf3767795f25775a7fa12ff36abea00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0daec7f67589c254f08b63cd83ea20af5bf3767795f25775a7fa12ff36abea00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0daec7f67589c254f08b63cd83ea20af5bf3767795f25775a7fa12ff36abea00", kill_on_drop: false }` [INFO] [stdout] 0daec7f67589c254f08b63cd83ea20af5bf3767795f25775a7fa12ff36abea00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c6ee67a31d09632e29b0c8a2a216f7259e2e8f525ee25c197f18be12932665b [INFO] running `Command { std: "docker" "start" "-a" "1c6ee67a31d09632e29b0c8a2a216f7259e2e8f525ee25c197f18be12932665b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling serenity v0.10.5 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `option_insert` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/jeff.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_insert)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `DashMap::::new` in statics [INFO] [stdout] --> src/jeff.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | static mut FetchTable: DashMap = DashMap::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of mutable static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/jeff.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let img_url = FetchTable.get(&msg.author.id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of mutable static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/jeff.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | FetchTable.insert(msg.author.id, url.to_string()); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0133. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `main` (bin "main") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1c6ee67a31d09632e29b0c8a2a216f7259e2e8f525ee25c197f18be12932665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6ee67a31d09632e29b0c8a2a216f7259e2e8f525ee25c197f18be12932665b", kill_on_drop: false }` [INFO] [stdout] 1c6ee67a31d09632e29b0c8a2a216f7259e2e8f525ee25c197f18be12932665b