[INFO] cloning repository https://github.com/furuhama/trash_can [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/furuhama/trash_can" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuruhama%2Ftrash_can", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuruhama%2Ftrash_can'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 568c361727339dfb80ccc8d8a3d8f0a11907db6c [INFO] testing furuhama/trash_can against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuruhama%2Ftrash_can" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furuhama/trash_can on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/furuhama/trash_can [INFO] finished tweaking git repo https://github.com/furuhama/trash_can [INFO] tweaked toml for git repo https://github.com/furuhama/trash_can written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/furuhama/trash_can already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 91a379ff60b1b94f9511e0060b9b3c6f2ea6ee2a62431dd2d9e994a71956f2ad [INFO] running `Command { std: "docker" "start" "-a" "91a379ff60b1b94f9511e0060b9b3c6f2ea6ee2a62431dd2d9e994a71956f2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a379ff60b1b94f9511e0060b9b3c6f2ea6ee2a62431dd2d9e994a71956f2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a379ff60b1b94f9511e0060b9b3c6f2ea6ee2a62431dd2d9e994a71956f2ad", kill_on_drop: false }` [INFO] [stdout] 91a379ff60b1b94f9511e0060b9b3c6f2ea6ee2a62431dd2d9e994a71956f2ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a59e1c1a6e7469c6a31041c9c517cd97c5d91ae5596815d4e0d4112711be12cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a59e1c1a6e7469c6a31041c9c517cd97c5d91ae5596815d4e0d4112711be12cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.12 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rand_isaac v0.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mustache v0.8.2 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling dotenv v0.8.0 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling nickel v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling dotenv_codegen_impl v0.1.0 [INFO] [stderr] Compiling dotenv_codegen v0.11.0 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling hyper v0.12.16 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling trash_can v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/modules/garbage_info_collector.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | let res = request_sender::get_response(dotenv!("REDDIT_URI")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/modules/garbage_info_collector.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | (dotenv!("HACKERNEWS_URI").to_string() + "/topstories.json").as_str(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/modules/garbage_info_collector.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | request_sender::get_hackernews((dotenv!("HACKERNEWS_URI").to_string() + "/topstories.json").as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/modules/request_sender.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let uri_head = dotenv!("HACKERNEWS_URI").to_string() + "/item/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/modules/request_sender.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | let get_url = |u: &str| -> String { dotenv!("HACKERNEWS_URI").to_string() + "/item/" + u }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/modules/request_sender.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | let get_url = |u: &str| -> String { dotenv!("HACKERNEWS_URI").to_string() + "/item/" + u }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/modules/request_sender.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let uri_head = dotenv!("HACKERNEWS_URI").to_string() + "/item/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/modules/garbage_info_collector.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | request_sender::get_hackernews((dotenv!("HACKERNEWS_URI").to_string() + "/topstories.json").as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/modules/garbage_info_collector.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | (dotenv!("HACKERNEWS_URI").to_string() + "/topstories.json").as_str(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/modules/garbage_info_collector.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | let res = request_sender::get_response(dotenv!("REDDIT_URI")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/modules/request_sender.rs:97:87 [INFO] [stdout] | [INFO] [stdout] 97 | fn http_request_job(client: &Client, index: usize, url: String) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/modules/request_sender.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let uri_tmp = uri_head + &id + ".json"; [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trash_can` due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a59e1c1a6e7469c6a31041c9c517cd97c5d91ae5596815d4e0d4112711be12cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59e1c1a6e7469c6a31041c9c517cd97c5d91ae5596815d4e0d4112711be12cb", kill_on_drop: false }` [INFO] [stdout] a59e1c1a6e7469c6a31041c9c517cd97c5d91ae5596815d4e0d4112711be12cb