[INFO] cloning repository https://github.com/KNOXDEV/nsa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KNOXDEV/nsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKNOXDEV%2Fnsa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKNOXDEV%2Fnsa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0992465647f2ab7f8e4e6fdf7a453eec4505b425 [INFO] testing KNOXDEV/nsa against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKNOXDEV%2Fnsa" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KNOXDEV/nsa [INFO] finished tweaking git repo https://github.com/KNOXDEV/nsa [INFO] tweaked toml for git repo https://github.com/KNOXDEV/nsa written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KNOXDEV/nsa on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KNOXDEV/nsa 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc4157f1258f47aa84131c272beb72d1487919897bea4745fb630da8880b279e [INFO] running `Command { std: "docker" "start" "-a" "dc4157f1258f47aa84131c272beb72d1487919897bea4745fb630da8880b279e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc4157f1258f47aa84131c272beb72d1487919897bea4745fb630da8880b279e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4157f1258f47aa84131c272beb72d1487919897bea4745fb630da8880b279e", kill_on_drop: false }` [INFO] [stdout] dc4157f1258f47aa84131c272beb72d1487919897bea4745fb630da8880b279e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac460271dc08577d1a63074244d05c8a5d872255eabbb23d27363ae45ab27ea8 [INFO] running `Command { std: "docker" "start" "-a" "ac460271dc08577d1a63074244d05c8a5d872255eabbb23d27363ae45ab27ea8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.23 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling cpufeatures v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling serenity v0.11.5 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling postgres-protocol v0.6.4 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling futures-executor v0.3.23 [INFO] [stderr] Compiling futures v0.3.23 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling postgres-types v0.2.3 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling tokio-postgres v0.7.6 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling nsa v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/link_rewriter/mod.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | async fn ready(&self, ctx: Context, _data_about_bot: Ready) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "ac460271dc08577d1a63074244d05c8a5d872255eabbb23d27363ae45ab27ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac460271dc08577d1a63074244d05c8a5d872255eabbb23d27363ae45ab27ea8", kill_on_drop: false }` [INFO] [stdout] ac460271dc08577d1a63074244d05c8a5d872255eabbb23d27363ae45ab27ea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd3e608061e6a484b63a5e804ccad66c6e110922b9d2cb4a3a37ffc734e57ca6 [INFO] running `Command { std: "docker" "start" "-a" "cd3e608061e6a484b63a5e804ccad66c6e110922b9d2cb4a3a37ffc734e57ca6", kill_on_drop: false }` [INFO] [stderr] Compiling nsa v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/link_rewriter/mod.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | async fn ready(&self, ctx: Context, _data_about_bot: Ready) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.52s [INFO] running `Command { std: "docker" "inspect" "cd3e608061e6a484b63a5e804ccad66c6e110922b9d2cb4a3a37ffc734e57ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3e608061e6a484b63a5e804ccad66c6e110922b9d2cb4a3a37ffc734e57ca6", kill_on_drop: false }` [INFO] [stdout] cd3e608061e6a484b63a5e804ccad66c6e110922b9d2cb4a3a37ffc734e57ca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cbb49b06fe1f0587e1c92c64de0406e8f0be92c42e8777ee0ad7da9de08d657e [INFO] running `Command { std: "docker" "start" "-a" "cbb49b06fe1f0587e1c92c64de0406e8f0be92c42e8777ee0ad7da9de08d657e", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/link_rewriter/mod.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | async fn ready(&self, ctx: Context, _data_about_bot: Ready) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `nsa` (bin "nsa" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nsa-ad21ca0e64c0c33f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test link_rewriter::test::rewrite_twitter ... ok [INFO] [stdout] test link_rewriter::test::correctly_determine_og_message_should_be_deleted ... ok [INFO] [stdout] test link_rewriter::test::dont_rewrite_fxtwitter ... ok [INFO] [stdout] test link_rewriter::test::correctly_determine_og_message_should_not_be_deleted ... ok [INFO] [stdout] test link_rewriter::test::rewrite_pixiv ... ok [INFO] [stdout] test link_rewriter::test::rewrite_nytimes ... ok [INFO] [stdout] test link_rewriter::test::rewrite_bluesky ... ok [INFO] [stdout] test link_rewriter::test::rewrite_xcom ... ok [INFO] [stdout] test link_rewriter::test::dont_rewrite_fxbsky ... ok [INFO] [stdout] test link_rewriter::test::rewrite_twitter_with_prefix_and_suffix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cbb49b06fe1f0587e1c92c64de0406e8f0be92c42e8777ee0ad7da9de08d657e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb49b06fe1f0587e1c92c64de0406e8f0be92c42e8777ee0ad7da9de08d657e", kill_on_drop: false }` [INFO] [stdout] cbb49b06fe1f0587e1c92c64de0406e8f0be92c42e8777ee0ad7da9de08d657e