tail.rs: Replace deprecated rust code.

4 jobs from patch-1 in 13 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
failed #10248
build

00:00:13

failed #10245
build

00:00:47

 
  Test
skipped #10247
allowed to fail
code_quality
skipped #10246
test
 
Name Stage Failure
failed
build Build
Checking out 318d3786 as patch-1...
Skipping Git submodules setup
$ # Auto DevOps variables and functions # collapsed multi-line command
$ setup_docker
$ build
Logging to GitLab Container Registry with CI credentials...
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
ERROR: Job failed: exit code 1