[INFO] updating cached repository https://github.com/lawliet89/rowdy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44cf405ad9330ae073889bd043c4e0f02c57e290 [INFO] testing lawliet89/rowdy against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawliet89%2Frowdy" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lawliet89/rowdy on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lawliet89/rowdy [INFO] removed workspace from git repo https://github.com/lawliet89/rowdy [INFO] finished tweaking git repo https://github.com/lawliet89/rowdy [INFO] tweaked toml for git repo https://github.com/lawliet89/rowdy written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/lawliet89/rowdy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 77920eeb4eb901b820a7dbb6818b9bfdd2b6cbddeb14aef21a61c07337b0250e [INFO] running `Command { std: "docker" "start" "-a" "77920eeb4eb901b820a7dbb6818b9bfdd2b6cbddeb14aef21a61c07337b0250e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77920eeb4eb901b820a7dbb6818b9bfdd2b6cbddeb14aef21a61c07337b0250e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77920eeb4eb901b820a7dbb6818b9bfdd2b6cbddeb14aef21a61c07337b0250e", kill_on_drop: false }` [INFO] [stdout] 77920eeb4eb901b820a7dbb6818b9bfdd2b6cbddeb14aef21a61c07337b0250e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36719b8ccaab28cf0b07dc0e41b46816aaf6abbf851127e087e6723aef9085b8 [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" "36719b8ccaab28cf0b07dc0e41b46816aaf6abbf851127e087e6723aef9085b8", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling rowdy v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling argon2rs v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling uuid v0.4.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling biscuit v0.1.1 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.5 [INFO] [stderr] Compiling rocket_cors v0.4.0 [INFO] [stdout] warning: lint `legacy_directory_ownership` has been removed: `converted into hard error, see issue #37872 for more information` [INFO] [stdout] --> src/lib.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | legacy_directory_ownership, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | exceeding_bitshifts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unmounted_route` [INFO] [stdout] --> src/auth/mod.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | #[allow(unmounted_route)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `needless_pass_by_value` [INFO] [stdout] --> src/auth/mod.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | #[allow(needless_pass_by_value)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unmounted_route` [INFO] [stdout] --> src/auth/mod.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | #[allow(unmounted_route)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `needless_pass_by_value` [INFO] [stdout] --> src/auth/mod.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(needless_pass_by_value)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unmounted_route` [INFO] [stdout] --> src/auth/mod.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | #[allow(unmounted_route)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `needless_pass_by_value` [INFO] [stdout] --> src/auth/mod.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | #[allow(needless_pass_by_value)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unmounted_route` [INFO] [stdout] --> src/routes.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(unmounted_route)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/token.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 14 | use std::str::FromStr; [INFO] [stdout] | ----------------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 626 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Deref` is imported redundantly [INFO] [stdout] --> src/lib.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 262 | use std::ops::Deref; [INFO] [stdout] | --------------- the item `Deref` is already imported here [INFO] [stdout] ... [INFO] [stdout] 556 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:60 [INFO] [stdout] | [INFO] [stdout] 334 | Error::UnsupportedOperation => write!(f, "{}", error::Error::description(self)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | deprecated, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/auth/mod.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | _ => write!(f, "{}", error::Error::description(self)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/token.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | _ => write!(f, "{}", error::Error::description(self)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | Error::Auth(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | Error::CORS(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:310:38 [INFO] [stdout] | [INFO] [stdout] 310 | Error::Token(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:311:40 [INFO] [stdout] | [INFO] [stdout] 311 | Error::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:312:44 [INFO] [stdout] | [INFO] [stdout] 312 | Error::LaunchError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/auth/mod.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | Error::HyperError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/token.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | Error::JWTError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/token.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | Error::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/token.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | Error::TokenSerializationError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/token.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(Uuid::from_bytes(&bytes).map_err(|e| e.description().to_string())?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rowdy`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "36719b8ccaab28cf0b07dc0e41b46816aaf6abbf851127e087e6723aef9085b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36719b8ccaab28cf0b07dc0e41b46816aaf6abbf851127e087e6723aef9085b8", kill_on_drop: false }` [INFO] [stdout] 36719b8ccaab28cf0b07dc0e41b46816aaf6abbf851127e087e6723aef9085b8